Skip to main content

Module asm

Module asm 

Source

Re-exportsยง

use rustc_ast as ast; ๐Ÿ”’
use rustc_ast::AsmMacro; ๐Ÿ”’
use rustc_span::Span; ๐Ÿ”’
use rustc_span::Symbol; ๐Ÿ”’
use rustc_span::kw; ๐Ÿ”’
use super::ExpKeywordPair; ๐Ÿ”’
use super::ForceCollect; ๐Ÿ”’
use super::IdentKind; ๐Ÿ”’
use super::Trailing; ๐Ÿ”’
use super::UsePreAttrPos; ๐Ÿ”’
use crate::PResult; ๐Ÿ”’
use crate::Parser; ๐Ÿ”’
use crate::diagnostics; ๐Ÿ”’
use crate::exp; ๐Ÿ”’
use crate::token; ๐Ÿ”’

Structsยง

AsmArg
An argument to one of the asm! macros. The argument is syntactically valid, but is otherwise not validated at all.
AsmAttrVec
A parsed list of attributes that is not attached to any item. Used to check whether asm! arguments are configured out.
AsmOption

Enumsยง

AsmArgKind

Functionsยง

eat_operand_keyword ๐Ÿ”’
Used for better error messages when operand types are used that are not supported by the current macro (e.g. in or out for global_asm!)
parse_asm_args
parse_asm_operand ๐Ÿ”’
parse_clobber_abi ๐Ÿ”’
parse_options ๐Ÿ”’
parse_reg ๐Ÿ”’