rust/compiler/rustc_interface
Matthias Krüger b7150d4e63
Rollup merge of #141943 - nnethercote:rm-pre-expansion-ast-stats, r=compiler-errors
Remove pre-expansion AST stats.

They're very little value, because they only measure the top-level `main.rs` or `lib.rs` file. (Other `.rs` files don't get read and parsed until expansion occurs.)

I saw an example recently where the pre-expansion AST was 3KB in size and the post-expansion AST was 66MB.

I kept the "POST EXPANSION" in the output header, I think that's useful information to avoid possible confusion about when the measurement happens.

r? `@davidtwco`
2025-06-03 21:53:38 +02:00
..
src Rollup merge of #141943 - nnethercote:rm-pre-expansion-ast-stats, r=compiler-errors 2025-06-03 21:53:38 +02:00
Cargo.toml Remove the use of Rayon iterators 2025-04-10 22:05:06 +02:00
messages.ftl Remove attribute #[rustc_error] 2025-03-30 01:32:21 +03:00