diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-06-24 15:39:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-24 15:39:42 +0200 |
| commit | e8dd3c356c037325bd85643f69367493a310d987 (patch) | |
| tree | be7833cbe3675fc34b9ed32748a5d9535cc0f857 /compiler/rustc_interface/src/passes.rs | |
| parent | 0512c82cfa1ef2c6fa0ae7f7f3f057a64d1ae625 (diff) | |
| parent | b2a57e6b428689d8b6a9881f8ccdfd30d76767bc (diff) | |
| download | rust-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.rs | 2 |
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. |
