Exit nonzero on rustc -Wall
This commit is contained in:
parent
8f3238f898
commit
7174ec22cf
1 changed files with 1 additions and 1 deletions
|
@ -1047,7 +1047,7 @@ pub fn handle_options(args: &[String]) -> Option<getopts::Matches> {
|
|||
let wall = matches.opt_strs("W");
|
||||
if wall.iter().any(|x| *x == "all") {
|
||||
print_wall_help();
|
||||
return None;
|
||||
rustc_errors::FatalError.raise();
|
||||
}
|
||||
|
||||
// Don't handle -W help here, because we might first load plugins.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue