about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/passes.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-06-24 15:39:42 +0200
committerGitHub <noreply@github.com>2025-06-24 15:39:42 +0200
commite8dd3c356c037325bd85643f69367493a310d987 (patch)
treebe7833cbe3675fc34b9ed32748a5d9535cc0f857 /compiler/rustc_interface/src/passes.rs
parent0512c82cfa1ef2c6fa0ae7f7f3f057a64d1ae625 (diff)
parentb2a57e6b428689d8b6a9881f8ccdfd30d76767bc (diff)
downloadrust-e8dd3c356c037325bd85643f69367493a310d987.tar.gz
rust-e8dd3c356c037325bd85643f69367493a310d987.zip
Rollup merge of #142944 - nnethercote:stats-tweaks, r=lqd
Stats output tweaks

Some improvements to `-Zinput-stats` and `-Zmeta-stat` inspired by the new `-Zmacro-stats`.

r? `@lqd`
Diffstat (limited to 'compiler/rustc_interface/src/passes.rs')
-rw-r--r--compiler/rustc_interface/src/passes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 0b9facfc7af..e8c23ef997c 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -371,7 +371,7 @@ fn early_lint_checks(tcx: TyCtxt<'_>, (): ()) {
     let mut lint_buffer = resolver.lint_buffer.steal();
 
     if sess.opts.unstable_opts.input_stats {
-        input_stats::print_ast_stats(krate, "POST EXPANSION AST STATS", "ast-stats");
+        input_stats::print_ast_stats(tcx, krate);
     }
 
     // Needs to go *after* expansion to be able to check the results of macro expansion.