rust/compiler/rustc_errors/src
Jubilee 8ba69d0f95
Rollup merge of #142784 - Kobzol:timings-codegen, r=nnethercote
Add codegen timing section

And since we now start and end the sections also using separate functions, also add some light checking if we're generating the sections correctly.

I'm integrating `--timings` into Cargo, and I realized that the codegen timings would be quite useful for that. Frontend can be computed simply as `[start of compilation, start of codegen]` for now.

r? `@nnethercote`
2025-06-23 12:48:20 -07:00
..
json Extract Translator struct 2025-06-19 13:02:04 -05:00
markdown Use default field values in markdown::parse::Context 2025-03-03 20:04:20 +00:00
annotate_snippet_emitter_writer.rs Extract Translator struct 2025-06-19 13:02:04 -05:00
codes.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
diagnostic.rs Remove an unnecessary use of Box::into_inner. 2025-05-27 02:06:40 +10:00
diagnostic_impls.rs Move eager translation to a method on Diag 2025-04-16 21:38:59 -04:00
emitter.rs Extract SilentEmitter 2025-06-19 13:05:01 -05:00
error.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
json.rs Rollup merge of #142784 - Kobzol:timings-codegen, r=nnethercote 2025-06-23 12:48:20 -07:00
lib.rs Extract SilentEmitter 2025-06-19 13:05:01 -05:00
lock.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
registry.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
snippet.rs Use abs_diff where applicable 2025-03-27 18:29:06 +00:00
styled_buffer.rs Fix rustdoc test 2025-03-07 17:55:08 +00:00
tests.rs Extract Translator struct 2025-06-19 13:02:04 -05:00
timings.rs Add codegen timing section 2025-06-23 08:50:17 +02:00
translation.rs Extract Translator struct 2025-06-19 13:02:04 -05:00