Adjust other names after the Mark renaming

This commit is contained in:
Vadim Petrochenkov
2019-07-16 01:42:58 +03:00
parent 31e10aec83
commit 09703e3843
27 changed files with 196 additions and 192 deletions

View File

@@ -59,7 +59,7 @@ pub fn expand_test_or_bench(
return vec![Annotatable::Item(item)];
}
let ctxt = SyntaxContext::empty().apply_mark(cx.current_expansion.mark);
let ctxt = SyntaxContext::empty().apply_mark(cx.current_expansion.id);
let (sp, attr_sp) = (item.span.with_ctxt(ctxt), attr_sp.with_ctxt(ctxt));
// Gensym "test" so we can extern crate without conflicting with any local names