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 3e58dab commit 3a3691fCopy full SHA for 3a3691f
src/librustc_driver/lib.rs
@@ -839,7 +839,15 @@ impl<'a> CompilerCalls<'a> for RustcDefaultCalls {
839
early_error(sopts.error_format, "no input filename given");
840
}
841
1 => panic!("make_input should have provided valid inputs"),
842
- _ => early_error(sopts.error_format, "multiple input filenames provided"),
+ _ =>
843
+ early_error(
844
+ sopts.error_format,
845
+ &format!(
846
+ "multiple input filenames provided (first two filenames are `{}` and `{}`)",
847
+ matches.free[0],
848
+ matches.free[1],
849
+ ),
850
+ )
851
852
853
0 commit comments