File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ pub fn main() {
197
197
} ) ;
198
198
199
199
exit ( rustc_driver:: catch_with_exit_code ( move || {
200
- let mut orig_args = rustc_driver:: args:: raw_args ( & early_dcx) ? ;
200
+ let mut orig_args = rustc_driver:: args:: raw_args ( & early_dcx) ;
201
201
202
202
let has_sysroot_arg = |args : & mut [ String ] | -> bool {
203
203
if has_arg ( args, "--sysroot" ) {
@@ -239,7 +239,7 @@ pub fn main() {
239
239
pass_sysroot_env_if_given ( & mut args, sys_root_env) ;
240
240
241
241
rustc_driver:: run_compiler ( & args, & mut DefaultCallbacks ) ;
242
- return Ok ( ( ) ) ;
242
+ return ;
243
243
}
244
244
245
245
if orig_args. iter ( ) . any ( |a| a == "--version" || a == "-V" ) {
@@ -301,7 +301,6 @@ pub fn main() {
301
301
} else {
302
302
rustc_driver:: run_compiler ( & args, & mut RustcCallbacks { clippy_args_var } ) ;
303
303
}
304
- Ok ( ( ) )
305
304
} ) )
306
305
}
307
306
You can’t perform that action at this time.
0 commit comments