File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compiler/rustc_driver_impl/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -348,10 +348,6 @@ pub fn run_compiler(at_args: &[String], callbacks: &mut (dyn Callbacks + Send))
348
348
// Make sure name resolution and macro expansion is run.
349
349
let _ = tcx. resolver_for_lowering( ) ;
350
350
351
- if let Some ( metrics_dir) = & sess. opts. unstable_opts. metrics_dir {
352
- dump_feature_usage_metrics( tcx, metrics_dir) ;
353
- }
354
-
355
351
if callbacks. after_expansion( compiler, tcx) == Compilation :: Stop {
356
352
return early_exit( ) ;
357
353
}
@@ -370,6 +366,10 @@ pub fn run_compiler(at_args: &[String], callbacks: &mut (dyn Callbacks + Send))
370
366
371
367
tcx. ensure_ok( ) . analysis( ( ) ) ;
372
368
369
+ if let Some ( metrics_dir) = & sess. opts. unstable_opts. metrics_dir {
370
+ dump_feature_usage_metrics( tcx, metrics_dir) ;
371
+ }
372
+
373
373
if callbacks. after_analysis( compiler, tcx) == Compilation :: Stop {
374
374
return early_exit( ) ;
375
375
}
You can’t perform that action at this time.
0 commit comments