Skip to main content

with_trailing_flag_hint

Function with_trailing_flag_hint 

Source
fn with_trailing_flag_hint(
    err: Report,
    expected: usize,
    args: &[String],
) -> Report
Expand description

Points out a flag that was read as an extra ABI argument.

The variadic ABI arguments accept hyphen values so that negative numbers work, which also captures flags written after the arguments.