fn eat_operand_keyword<'a>(
p: &mut Parser<'a>,
exp: ExpKeywordPair,
asm_macro: AsmMacro,
) -> PResult<'a, bool>Expand description
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!)
returns
Ok(true)if the current token matches the keyword, and was expectedOk(false)if the current token does not match the keywordErr(_)if the current token matches the keyword, but was not expected