1
Fork 0

Hygienize librustc_resolve.

This commit is contained in:
Jeffrey Seyfried 2017-03-22 08:39:51 +00:00
parent 1cded8472e
commit 1f175fa35d
18 changed files with 492 additions and 190 deletions

View file

@ -21,7 +21,7 @@ use tokenstream::TokenStream;
/// call to codemap's `is_internal` check.
/// The expanded code uses the unstable `#[prelude_import]` attribute.
fn ignored_span(sp: Span) -> Span {
let mark = Mark::fresh();
let mark = Mark::fresh(Mark::root());
mark.set_expn_info(ExpnInfo {
call_site: DUMMY_SP,
callee: NameAndSpan {