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

@ -276,7 +276,7 @@ fn generate_test_harness(sess: &ParseSess,
let mut cleaner = EntryPointCleaner { depth: 0 };
let krate = cleaner.fold_crate(krate);
let mark = Mark::fresh();
let mark = Mark::fresh(Mark::root());
let mut cx: TestCtxt = TestCtxt {
sess: sess,
span_diagnostic: sd,