Camille GILLOT
084e6722f9
Use Arena inside hir::Item.
2019-12-21 23:17:29 +01:00
Nicholas Nethercote
71278cbdcb
Remove some unnecessary ATTR_*
constants.
2019-12-18 11:11:15 +11:00
Samy Kacimi
60ca55cbda
normalize use of backticks in compiler messages for librustc_incremental
...
https://github.com/rust-lang/rust/issues/60532
2019-07-20 20:57:45 +02:00
ljedrz
37d7e1f22a
rename hir::map::local_def_id_from_hir_id to local_def_id
2019-07-04 12:53:12 +02:00
Jeremy Stucki
ec711767a7
Remove needless lifetimes
2019-07-03 10:01:02 +02:00
Eduard-Mihai Burtescu
afc39bbf24
Run rustfmt --file-lines ...
for changes from previous commits.
2019-06-14 18:58:32 +03:00
Eduard-Mihai Burtescu
f3f9d6dfd9
Unify all uses of 'gcx and 'tcx.
2019-06-14 18:58:23 +03:00
Eduard-Mihai Burtescu
fff08cb043
Run rustfmt --file-lines ...
for changes from previous commits.
2019-06-12 13:38:28 +03:00
Eduard-Mihai Burtescu
17cdd356da
rustc: replace TyCtxt<'tcx, 'gcx, 'tcx>
with TyCtxt<'gcx, 'tcx>
.
2019-06-12 13:38:27 +03:00
Eduard-Mihai Burtescu
2441253508
Fix fallout from deny(unused_lifetimes)
.
2019-06-12 13:38:27 +03:00
Eduard-Mihai Burtescu
37799a5552
rustc: replace TyCtxt<'a, 'gcx, 'tcx>
with TyCtxt<'tcx, 'gcx, 'tcx>
.
2019-06-12 13:38:27 +03:00
Eduard-Mihai Burtescu
26a03405a5
rustc_incremental: deny(unused_lifetimes).
2019-06-11 14:11:58 +03:00
Vadim Petrochenkov
0cf96131f4
Refactor away NestedMetaItemKind
...
Remove methods `Attribute::span` and `MetaItem::span` duplicating public fields
2019-03-16 23:14:42 +03:00
Vadim Petrochenkov
8371caf5ee
syntax: Do not accidentally treat multi-segment meta-items as single-segment
2019-03-16 23:13:15 +03:00
Eduard-Mihai Burtescu
e0c75ff40d
rustc: rename item_path to def_path (except the module in ty).
2019-03-15 13:25:10 +02:00
ljedrz
e72584c3a1
hir: remove NodeId from TraitItem
2019-03-01 11:18:49 +01:00
Alexander Regueiro
c3e182cf43
rustc: doc comments
2019-02-10 23:42:32 +00:00
Taiki Endo
4f2e97e0ed
librustc_incremental => 2018
2019-02-08 21:16:35 +09:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
John Kåre Alsaker
a70babed03
Use a function to access the Hir map to be able to turn it into a query later
2018-12-06 17:24:36 +01:00
Oliver Scherer
ee81739dc1
Deprecate the FxHashMap()
and FxHashSet()
constructor function hack
2018-10-19 14:34:44 +02:00
ljedrz
c30ce35705
Remove graphviz::IntoCow
2018-10-05 14:16:10 +02:00
ljedrz
421b2ba347
Don't format!() string literals
2018-07-28 17:58:52 +02:00
Niko Matsakis
90c90ba542
rename control_flow_graph
to graph
2018-07-12 00:38:40 -04:00
Niko Matsakis
3c30415e96
rename graph
to control_flow_graph::implementation
2018-07-12 00:38:40 -04:00
Irina Popa
b63d7e2b1c
Rename trans to codegen everywhere.
2018-05-17 15:08:30 +03:00
flip1995
121abd0599
make it compile again
2018-05-02 12:05:13 +02:00
Vadim Petrochenkov
3a30bad6de
Use Ident
instead of Name
in MetaItem
2018-04-06 11:52:16 +03:00
Michael Woerister
542bc75dea
Turn features() into a query.
2018-03-05 11:05:01 +01:00
kennytm
7ffdabd401
Rollup merge of #47328 - mbrubeck:fs_read, r=sfackler
...
Use the new fs_read_write functions in rustc internals
Uses `fs::read` and `fs::write` (added by #45837 ) where appropriate, to simplify code and dog-food these new APIs. This also improves performance, when combined with #47324 .
2018-01-13 02:26:35 +08:00
Matt Brubeck
3f9c057ea6
Use the new fs_read_write functions in rustc internals
2018-01-10 14:53:40 -08:00
John Kåre Alsaker
9508922499
Replace uses of DepGraph.in_ignore with DepGraph.with_ignore
2018-01-09 18:35:50 +01:00
Michael Woerister
272c324b25
incr.comp.: Build DepGraphQuery from new dep-graph impl.
2017-10-02 15:45:46 +02:00
Zack M. Davis
1b6c9605e4
use field init shorthand EVERYWHERE
...
Like #43008 (f668999
), but _much more aggressive_.
2017-08-15 15:29:17 -07:00
Michael Woerister
3607174909
incr.comp.: Uniformly represent DepNodes as (Kind, StableHash) pairs.
2017-06-09 15:03:34 +02:00
Oliver Schneider
dd87eabd83
Remove need for &format!(...) or &&"" dances in span_label
calls
2017-05-08 12:56:15 +02:00
Niko Matsakis
e8f6fbb255
allow dep-graph assertions on fields
2017-05-03 16:42:07 -04:00
Michael Woerister
03b8091d10
Move some constants to rustc::ich.
2017-03-22 09:14:24 +01:00
Eduard-Mihai Burtescu
45c8c5678a
rustc: rename TyCtxt's map
field to hir
.
2017-01-26 13:41:28 +02:00
Eduard-Mihai Burtescu
864928297d
rustc: separate TraitItem from their parent Item, just like ImplItem.
2016-12-28 11:21:45 +02:00
Jeffrey Seyfried
a2626410d7
Refactor MetaItemKind
to use Name
s instead of InternedString
s.
2016-11-20 11:46:06 +00:00
Niko Matsakis
7918299bf0
fix dep-graph checking to account for implitems
2016-11-16 13:57:45 -05:00
Niko Matsakis
3fd67eba87
fallout from separating impl-items from impls
...
Basically adding `visit_impl_item` in various places and so forth.
2016-11-16 13:57:43 -05:00
Niko Matsakis
36fbf8c53c
refactor Visitor into ItemLikeVisitor and intravisit::Visitor
...
There are now three patterns (shallow, deep, and nested visit). These
are described in detail on the docs in `itemlikevisit::ItemLikeVisitor`.
2016-11-16 13:51:36 -05:00
Nicholas Nethercote
00e48affde
Replace FnvHasher use with FxHasher.
...
This speeds up compilation by 3--6% across most of rustc-benchmarks.
2016-11-08 15:14:59 +11:00
Michael Woerister
6a2666d5b0
ICH: Add ability to test the ICH of exported metadata items.
2016-09-23 17:23:23 -04:00
Niko Matsakis
2a84449169
allow testing DepNode::Krate edges directly
2016-09-06 11:18:09 -04:00
Vadim Petrochenkov
e05e74ac83
Replace _, _
with ..
2016-09-04 12:30:33 +03:00
Jeffrey Seyfried
bfb01bbb26
Refactor away AttrMetaMethods
.
2016-08-25 20:41:40 +00:00
Jeffrey Seyfried
4eb08bb2ab
Refactor away AttrNestedMetaItemMethods
.
2016-08-25 20:41:32 +00:00