mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
dogfood tasted bad
This commit is contained in:
+3
-3
@@ -77,10 +77,10 @@ fn process<I>(mut old_args: I) -> Result<(), i32>
|
||||
}
|
||||
|
||||
if fix {
|
||||
if !unstable_options {
|
||||
panic!("Usage of `--fix` requires `-Z unstable-options`");
|
||||
} else {
|
||||
if unstable_options {
|
||||
args[0] = "fix".to_owned();
|
||||
} else {
|
||||
panic!("Usage of `--fix` requires `-Z unstable-options`");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user