Skip to content

Commit dc65c63

Browse files
committed
Fix review comment
1 parent 159ba4c commit dc65c63

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_driver_impl/src

1 file changed

+2
-2
lines changed

compiler/rustc_driver_impl/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,9 @@ fn make_input(
511511
Ok(Some(Input::Str { name, input }))
512512
}
513513
[ifile] => Ok(Some(Input::File(PathBuf::from(ifile)))),
514-
_ => early_dcx.early_fatal(format!(
514+
[ifile1, ifile2, ..] => early_dcx.early_fatal(format!(
515515
"multiple input filenames provided (first two filenames are `{}` and `{}`)",
516-
free_matches[0], free_matches[1],
516+
ifile1, ifile2
517517
)),
518518
}
519519
}

0 commit comments

Comments
 (0)