diff --git a/src/bin/cargo-miri.rs b/src/bin/cargo-miri.rs index 71cd46314b5a..6d2dc1dd2f1a 100644 --- a/src/bin/cargo-miri.rs +++ b/src/bin/cargo-miri.rs @@ -366,7 +366,7 @@ fn main() { Err(ref e) => panic!("error during rustc call: {:?}", e), } } else { - show_error!("Must be called with either `miri` or `rustc` as first argument.") + show_error(format!("Must be called with either `miri` or `rustc` as first argument.")) } }