Skip to content

Commit b6a4556

Browse files
committed
use show_error to terminate
1 parent ed83cc2 commit b6a4556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/cargo-miri.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ fn main() {
366366
Err(ref e) => panic!("error during rustc call: {:?}", e),
367367
}
368368
} else {
369-
eprintln!("Unexpected call: Must be called with either `miri` or `rustc` as first argument.")
369+
show_error!("Must be called with either `miri` or `rustc` as first argument.")
370370
}
371371
}
372372

0 commit comments

Comments
 (0)