1
Fork 0

Make arg_expand_all not short-circuit on first error

This commit is contained in:
beetrees 2023-05-15 18:34:32 +00:00
parent 7d3702e472
commit 63091b105d
No known key found for this signature in database
GPG key ID: 8791BD754191EBD6
42 changed files with 270 additions and 53 deletions

View file

@ -705,7 +705,7 @@ fn main_args(
// the compiler with @empty_file as argv[0] and no more arguments.
let at_args = at_args.get(1..).unwrap_or_default();
let args = rustc_driver::args::arg_expand_all(early_dcx, at_args);
let args = rustc_driver::args::arg_expand_all(early_dcx, at_args)?;
let mut options = getopts::Options::new();
for option in opts() {