mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
use show_error to terminate
This commit is contained in:
@@ -366,7 +366,7 @@ fn main() {
|
||||
Err(ref e) => panic!("error during rustc call: {:?}", e),
|
||||
}
|
||||
} else {
|
||||
eprintln!("Unexpected call: Must be called with either `miri` or `rustc` as first argument.")
|
||||
show_error!("Must be called with either `miri` or `rustc` as first argument.")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user