Function rustc_builtin_macros::asm::try_set_option

source ·
fn try_set_option<'a>(
    p: &Parser<'a>,
    args: &mut AsmArgs,
    symbol: Symbol,
    option: InlineAsmOptions
)
Expand description

Try to set the provided option in the provided AsmArgs. If it is already set, report a duplicate option error.

This function must be called immediately after the option token is parsed. Otherwise, the error will not point to the correct spot.