trigger unsafe_code
on global_asm!
invocations
This commit is contained in:
parent
3246e79513
commit
dc7a01610f
7 changed files with 59 additions and 4 deletions
|
@ -773,7 +773,7 @@ pub(super) fn expand_global_asm<'cx>(
|
|||
kind: ast::VisibilityKind::Inherited,
|
||||
tokens: None,
|
||||
},
|
||||
span: ecx.with_def_site_ctxt(sp),
|
||||
span: sp,
|
||||
tokens: None,
|
||||
})])
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue