rust/compiler/rustc_macros/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
..
diagnostics Remove LintDiagnostic::msg 2024-05-23 04:08:35 +02:00
symbols Fix symbols::tests::test_symbols 2023-10-26 02:02:22 -07:00
current_version.rs Simplify the current_rustc_version macro. 2023-11-10 10:54:21 +11:00
extension.rs Nits 2024-02-16 15:07:37 +00:00
hash_stable.rs Make synstructure underscore_const(true) the default 2024-02-17 13:57:33 +01:00
lib.rs Add note_once/help_once to diagnostic derives 2024-05-21 20:11:42 +00:00
lift.rs Lift Lift 2024-05-10 15:44:03 -04:00
query.rs Correctly explain ensure_forwards_result_if_red 2024-01-24 11:04:13 +00:00
serialize.rs Fix up whitespace in compiler/rustc_macros/src/serialize.rs. 2024-05-22 16:03:46 +10:00
symbols.rs Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
type_foldable.rs Make synstructure underscore_const(true) the default 2024-02-17 13:57:33 +01:00
type_visitable.rs Convert TypeVisitor and DefIdVisitor to use VisitorResult 2024-03-05 13:28:15 -05:00