Skip to main content

cli_arg_mismatch

Function cli_arg_mismatch 

Source
pub const fn cli_arg_mismatch(
    method: &str,
    names: &[&str],
    position: usize,
    name: &str,
) -> CliArgMessage
Expand description

Answers why the argument at position of method is not named name, or an empty message when it is, at compile time: “argument 0 of start_node is name, not fff”.