disallow naked_asm! outside of #[naked] functions
This commit is contained in:
@@ -2927,6 +2927,7 @@ impl<'hir> InlineAsmOperand<'hir> {
|
||||
|
||||
#[derive(Debug, Clone, Copy, HashStable_Generic)]
|
||||
pub struct InlineAsm<'hir> {
|
||||
pub asm_macro: ast::AsmMacro,
|
||||
pub template: &'hir [InlineAsmTemplatePiece],
|
||||
pub template_strs: &'hir [(Symbol, Option<Symbol>, Span)],
|
||||
pub operands: &'hir [(InlineAsmOperand<'hir>, Span)],
|
||||
|
||||
Reference in New Issue
Block a user