File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_driver_impl/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ fn run_compiler(
394394 // If pretty printing is requested: Figure out the representation, print it and exit
395395 if let Some ( pp_mode) = sess. opts. pretty {
396396 if pp_mode. needs_ast_map( ) {
397- create_and_enter_global_ctxt( & compiler, krate, |tcx| {
397+ create_and_enter_global_ctxt( compiler, krate, |tcx| {
398398 tcx. ensure( ) . early_lint_checks( ( ) ) ;
399399 pretty:: print( sess, pp_mode, pretty:: PrintExtra :: NeedsAstMap { tcx } ) ;
400400 passes:: write_dep_info( tcx) ;
@@ -414,7 +414,7 @@ fn run_compiler(
414414 return early_exit( ) ;
415415 }
416416
417- let linker = create_and_enter_global_ctxt( & compiler, krate, |tcx| {
417+ let linker = create_and_enter_global_ctxt( compiler, krate, |tcx| {
418418 let early_exit = || {
419419 sess. dcx( ) . abort_if_errors( ) ;
420420 None
You can’t perform that action at this time.
0 commit comments