rust/compiler/rustc_errors/src
bors b582f807fa Auto merge of #125410 - fmease:adj-lint-diag-api, r=nnethercote
[perf] Delay the construction of early lint diag structs

Attacks some of the perf regressions from https://github.com/rust-lang/rust/pull/124417#issuecomment-2123700666.

See individual commits for details. The first three commits are not strictly necessary.
However, the 2nd one (06bc4fc671, *Remove `LintDiagnostic::msg`*) makes the main change way nicer to implement.
It's also pretty sweet on its own if I may say so myself.
2024-05-27 08:44:12 +00:00
..
json Make JsonEmitter more like HumanEmitter. 2024-02-29 17:50:26 +11:00
markdown constify a couple thread_local statics 2024-02-12 16:25:39 +01:00
annotate_snippet_emitter_writer.rs Rename DiagnosticMessage as DiagMessage. 2024-03-05 12:14:49 +11:00
codes.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
diagnostic_impls.rs Auto merge of #125335 - compiler-errors:binder, r=lcnr 2024-05-22 08:33:34 +00:00
diagnostic.rs Remove LintDiagnostic::msg 2024-05-23 04:08:35 +02:00
emitter.rs Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-dead 2024-04-30 15:04:08 +02:00
error.rs Minor visibility and formatting improvements. 2024-02-29 16:30:09 +11:00
json.rs If suggestion would leave an empty line, delete it 2024-03-01 13:48:20 +00:00
lib.rs Remove DelayDm 2024-05-23 04:08:35 +02:00
lock.rs windows bump to 0.52 2024-02-18 16:02:16 +03:00
registry.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
snippet.rs Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
styled_buffer.rs Replace some _ == _ || _ == _s with matches!(_, _ | _)s 2023-01-30 12:26:26 +00:00
tests.rs Rename DiagnosticMessage as DiagMessage. 2024-03-05 12:14:49 +11:00
translation.rs Remove extern crate tracing from numerous crates. 2024-04-30 16:47:49 +10:00