Eduard-Mihai Burtescu
864928297d
rustc: separate TraitItem from their parent Item, just like ImplItem.
2016-12-28 11:21:45 +02:00
Michael Woerister
aed0cdbfd2
definitions: Don't allocate DefIds for inlined HIR
2016-12-16 19:14:16 -05:00
Niko Matsakis
104125d5f7
revamp Visitor
with a single method for controlling nested visits
2016-11-29 13:04:27 +01:00
Florian Diebold
f0ce5bb66b
Split nested_visit_mode function off from nested_visit_map
...
... and make the latter mandatory to implement.
2016-11-29 13:04:27 +01:00
Florian Diebold
23a8c7d4d9
Remove unused import
2016-11-29 13:04:27 +01:00
Florian Diebold
f55482e7c9
rustc: replace body exprs by their ids
2016-11-29 13:04:27 +01:00
Eduard Burtescu
fcdb4def83
rustc: track fields in the HIR map.
2016-11-28 05:12:41 +02:00
Eduard-Mihai Burtescu
bc096549e8
rustc: desugar use a::{b,c};
into use a::b; use a::c;
in HIR.
2016-11-28 04:18:10 +02:00
Eduard Burtescu
6ebc6d8154
rustc: track hir::{TraitRef, Visibility} in the HIR map.
2016-11-28 04:18:10 +02:00
Jeffrey Seyfried
b4d3df6592
Stabilize RFC 1560.
2016-11-21 09:10:16 +00:00
Niko Matsakis
629f5ffb23
include a Name and Span for each item in the HIR of the impl
2016-11-16 13:57:47 -05:00
Niko Matsakis
26d1500e13
add a nested_visit_map
method
...
This allows you to enable *all* nested visits in a future-compatible
sort of way. Moreover, if you choose to override the `visit_nested`
methods yourself, you can "future-proof" against omissions by overriding
`nested_visit_map` to panic.
2016-11-16 13:57:47 -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
Jeffrey Seyfried
872943c317
Improve macro reexports.
2016-11-10 10:04:24 +00:00
Eduard Burtescu
ff0830d749
rustc: use an Expr instead of a Block for function bodies.
2016-11-10 01:44:45 +02:00
Eduard Burtescu
b01d4891e2
rustc: don't recurse through nested items in decoded HIR fragments.
2016-09-20 20:08:06 +03:00
Eduard Burtescu
fc363cb482
rustc_metadata: go only through rustc_serialize in astencode.
2016-09-20 20:07:54 +03:00
Vadim Petrochenkov
e05e74ac83
Replace _, _
with ..
2016-09-04 12:30:33 +03:00
Jeffrey Seyfried
c4d577be1a
Refactor away variant hir::PathListItem_::Mod
...
and refacotor `hir::PathListItem_::Ident` -> `hir::PathListItem_`.
2016-08-21 22:59:39 +00:00
Eduard Burtescu
d92e594c38
typeck: record impl Trait
concrete resolutions.
2016-08-12 06:43:34 +03:00
Michael Woerister
415fde498a
intravisit: Fold functionality of IdVisitor into the regular Visitor.
2016-07-29 04:55:31 -04:00
Jonathan Turner
6ae3502134
Move errors from libsyntax to its own crate
2016-06-23 08:07:35 -04:00
Vadim Petrochenkov
216f5fba04
Separate bindings from other patterns in HIR
2016-05-28 00:54:29 +03:00
Ticki
da55fd788b
Improve internal documentation and code style
...
Fix some code layout, remove some unnecessary returns, fix typos,
punctuation, and comment consistency.
2016-05-21 08:51:08 -05:00
Nick Cameron
1d5a29cf0e
debugging, misc fixes
2016-04-20 10:14:16 +12:00
Nick Cameron
0c37d4bb1d
refactoring
2016-04-20 10:13:35 +12:00
Nick Cameron
d6bcc04c52
Move DefCollector to its own module.
2016-04-20 10:13:35 +12:00
Nick Cameron
f61b404467
Split up NodeCollector so that defs are collected separately from nodes for the HIR map.
2016-04-20 10:13:35 +12:00
Michael Woerister
e8441b6784
Add initial version of codegen unit partitioning for incremental compilation.
2016-04-15 10:05:53 -04:00
Eduard Burtescu
e8a8dfb056
rustc: retire hir::map's paths.
2016-04-06 13:51:55 +03:00
Eduard Burtescu
ffca6c3e15
rustc: move middle::{def,def_id,pat_util} to hir.
2016-04-06 09:14:21 +03:00
Eduard Burtescu
ef4c7241f8
rustc: dismantle hir::util, mostly moving functions to methods.
2016-04-06 09:01:55 +03:00
Eduard Burtescu
8b0937293b
rustc: move rustc_front to rustc::hir.
2016-04-06 09:01:55 +03:00