fmt cargo-miri
This commit is contained in:
parent
0341b8ac84
commit
cffa1d325c
@ -528,9 +528,10 @@ fn phase_cargo_miri(mut args: env::Args) {
|
|||||||
Some("run") => MiriCommand::Run,
|
Some("run") => MiriCommand::Run,
|
||||||
Some("setup") => MiriCommand::Setup,
|
Some("setup") => MiriCommand::Setup,
|
||||||
// Invalid command.
|
// Invalid command.
|
||||||
_ => show_error(format!(
|
_ =>
|
||||||
"`cargo miri` supports the following subcommands: `run`, `test`, and `setup`."
|
show_error(format!(
|
||||||
)),
|
"`cargo miri` supports the following subcommands: `run`, `test`, and `setup`."
|
||||||
|
)),
|
||||||
};
|
};
|
||||||
let verbose = has_arg_flag("-v");
|
let verbose = has_arg_flag("-v");
|
||||||
|
|
||||||
@ -1086,8 +1087,9 @@ fn main() {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_ => show_error(format!(
|
_ =>
|
||||||
"`cargo-miri` called without first argument; please only invoke this binary through `cargo miri`"
|
show_error(format!(
|
||||||
)),
|
"`cargo-miri` called without first argument; please only invoke this binary through `cargo miri`"
|
||||||
|
)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user