Forbid asm unwind to work with labels
This commit is contained in:
parent
5e4e3d790b
commit
31f078ea99
3 changed files with 16 additions and 0 deletions
|
@ -787,6 +787,13 @@ pub(crate) struct AsmNoReturn {
|
|||
pub(crate) outputs_sp: Vec<Span>,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(builtin_macros_asm_mayunwind)]
|
||||
pub(crate) struct AsmMayUnwind {
|
||||
#[primary_span]
|
||||
pub(crate) labels_sp: Vec<Span>,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(builtin_macros_global_asm_clobber_abi)]
|
||||
pub(crate) struct GlobalAsmClobberAbi {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue