Skip to content

Commit 7f44fb8

Browse files
committed
fixme added
1 parent 846989f commit 7f44fb8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compiler/rustc_session/src/options.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,10 @@ pub mod parse {
13771377
"PrintPasses" => AutoDiff::PrintPasses,
13781378
"LooseTypes" => AutoDiff::LooseTypes,
13791379
"Inline" => AutoDiff::Inline,
1380-
_ => return false,
1380+
_ => {
1381+
// FIXME(ZuseZ4): print an error saying which value is not recognized
1382+
return false;
1383+
}
13811384
};
13821385
slot.push(variant);
13831386
}

0 commit comments

Comments
 (0)