Remove with_legacy_ctxt
This commit is contained in:
parent
5ae3830d58
commit
8ab67c8f56
13 changed files with 44 additions and 34 deletions
|
@ -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(),
|
||||
}))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue