Remove with_legacy_ctxt

This commit is contained in:
Matthew Jasper
2019-09-14 21:17:11 +01:00
parent 5ae3830d58
commit 8ab67c8f56
13 changed files with 44 additions and 34 deletions

View File

@@ -59,6 +59,6 @@ pub fn expand_concat(
} else if has_errors {
return DummyResult::any(sp);
}
let sp = cx.with_legacy_ctxt(sp);
let sp = cx.with_def_site_ctxt(sp);
base::MacEager::expr(cx.expr_str(sp, Symbol::intern(&accumulator)))
}