dogfood tasted bad

This commit is contained in:
Jane Lusby
2020-03-27 14:05:47 -07:00
parent e190cc5590
commit 680cc2f258
+3 -3
View File
@@ -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`");
}
}