We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef14fd commit c40b005Copy full SHA for c40b005
compiler/rustc_session/src/options.rs
@@ -1364,9 +1364,6 @@ pub mod parse {
1364
if let Some(fun) = arg {
1365
AutoDiff::PrintTAFn(fun.to_string())
1366
} else {
1367
- eprintln!(
1368
- "Missing argument for PrintTAFn (expected PrintTAFn=<function_name>)"
1369
- );
1370
return false;
1371
}
1372
@@ -1380,10 +1377,7 @@ pub mod parse {
1380
1377
"PrintPasses" => AutoDiff::PrintPasses,
1381
1378
"LooseTypes" => AutoDiff::LooseTypes,
1382
1379
"Inline" => AutoDiff::Inline,
1383
- _ => {
1384
- eprintln!("Unknown autodiff option: {key}");
1385
- return false;
1386
- }
+ _ => return false,
1387
};
1388
slot.push(variant);
1389
0 commit comments