use show_error to terminate

This commit is contained in:
Ralf Jung 2018-12-12 17:05:23 +01:00
parent ed83cc2600
commit b6a4556cb9

View file

@ -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.")
}
}