Remove with_legacy_ctxt
This commit is contained in:
@@ -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(),
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user