diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-06 21:56:28 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-06 21:56:28 +0100 |
| commit | 79e5424e313cb6fc725f738a4ac1d3220932d3cd (patch) | |
| tree | c3340df191c21a43c9d8dccec48dfda6ba6ac9ed /compiler/rustc_driver_impl/src | |
| parent | 3eb1ef836eaece6dd52ce0b27f9983b8c6b20ee1 (diff) | |
| parent | b9b2c3affcc51e85d793f51875db067513642863 (diff) | |
| download | rust-79e5424e313cb6fc725f738a4ac1d3220932d3cd.tar.gz rust-79e5424e313cb6fc725f738a4ac1d3220932d3cd.zip | |
Rollup merge of #136636 - bjorn3:error_cleanup, r=compiler-errors
Couple of minor cleanups to the diagnostic infrastructure
Diffstat (limited to 'compiler/rustc_driver_impl/src')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index d7f1357dc57..4c47ce93dd5 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -1024,7 +1024,7 @@ pub fn describe_flag_categories(early_dcx: &EarlyDiagCtxt, matches: &Matches) -> let wall = matches.opt_strs("W"); if wall.iter().any(|x| *x == "all") { print_wall_help(); - rustc_errors::FatalError.raise(); + return true; } // Don't handle -W help here, because we might first load additional lints. |
