File tree 1 file changed +2
-2
lines changed
compiler/rustc_driver_impl/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ fn run_compiler(
394
394
// If pretty printing is requested: Figure out the representation, print it and exit
395
395
if let Some ( pp_mode) = sess. opts. pretty {
396
396
if pp_mode. needs_ast_map( ) {
397
- create_and_enter_global_ctxt( & compiler, krate, |tcx| {
397
+ create_and_enter_global_ctxt( compiler, krate, |tcx| {
398
398
tcx. ensure( ) . early_lint_checks( ( ) ) ;
399
399
pretty:: print( sess, pp_mode, pretty:: PrintExtra :: NeedsAstMap { tcx } ) ;
400
400
passes:: write_dep_info( tcx) ;
@@ -414,7 +414,7 @@ fn run_compiler(
414
414
return early_exit( ) ;
415
415
}
416
416
417
- let linker = create_and_enter_global_ctxt( & compiler, krate, |tcx| {
417
+ let linker = create_and_enter_global_ctxt( compiler, krate, |tcx| {
418
418
let early_exit = || {
419
419
sess. dcx( ) . abort_if_errors( ) ;
420
420
None
You can’t perform that action at this time.
0 commit comments