1
Fork 0

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

@ -62,7 +62,7 @@ pub fn expand_asm<'cx>(cx: &'cx mut ExtCtxt<'_>,
MacEager::expr(P(ast::Expr {
id: ast::DUMMY_NODE_ID,
node: ast::ExprKind::InlineAsm(P(inline_asm)),
span: cx.with_legacy_ctxt(sp),
span: cx.with_def_site_ctxt(sp),
attrs: ThinVec::new(),
}))
}