Skip to content

Commit 388f53d

Browse files
committed
Auto merge of #4545 - jolson88:fix-ice-reporting, r=phansch
Changes to catch_fatal_errors in rustc driver A [recent PR](https://github.com/rust-lang/rust/pull/60584/files#diff-707a0eda6b2f1a0537abc3d23133748cL1151) changed the function name from `report_ices_to_stderr_if_any` to `catch_fatal_errors`. This PR changes to using the new function name. changelog: none
2 parents 535bc1d + bf4a467 commit 388f53d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ You can use tool lints to allow or deny lints from your code, eg.:
248248
pub fn main() {
249249
rustc_driver::init_rustc_env_logger();
250250
exit(
251-
rustc_driver::report_ices_to_stderr_if_any(move || {
251+
rustc_driver::catch_fatal_errors(move || {
252252
use std::env;
253253

254254
if std::env::args().any(|a| a == "--version" || a == "-V") {

0 commit comments

Comments
 (0)