rustc_builtin_macros::asm

Function err_duplicate_option

source
fn err_duplicate_option(p: &Parser<'_>, symbol: Symbol, span: Span)
Expand description

Report a duplicate option error.

This function must be called immediately after the option token is parsed. Otherwise, the suggestion will be incorrect.