about summary refs log tree commit diff
path: root/compiler/rustc_macros/src
AgeCommit message (Expand)AuthorLines
2024-07-29Reformat `use` declarations.Nicholas Nethercote-29/+34
2024-07-17lift_to_tcx -> lift_to_internerMichael Goulet-1/+1
2024-07-14Suppress some fallout from gen in synstructureMichael Goulet-0/+8
2024-07-10Make sure that labels are defined after the primary span in diagnosticsMichael Goulet-0/+9
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-1/+1
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-1/+1
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-2/+4
2024-06-06Make the panic info more usefulOli Scherer-2/+19
2024-06-03Nits and formattingMichael Goulet-3/+6
2024-05-27Auto merge of #125410 - fmease:adj-lint-diag-api, r=nnethercotebors-21/+13
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-20/+12
2024-05-23Slightly clean up some lint infra codeLeón Orell Valerian Liehr-1/+1
2024-05-22Rollup merge of #125391 - nnethercote:serialize-rs-tweaks, r=compiler-errorsLeón Orell Valerian Liehr-8/+8
2024-05-22Fix up whitespace in `compiler/rustc_macros/src/serialize.rs`.Nicholas Nethercote-8/+8
2024-05-21Fix subdiagnostic-only enum variants not generating codeXiretza-2/+2
2024-05-21Add note_once/help_once to diagnostic derivesXiretza-4/+30
2024-05-10Lift `Lift`Michael Goulet-1/+1
2024-04-21Allow nesting subdiagnosticsXiretza-12/+26
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-1/+1
2024-03-11Rename diagnostic derive things.Nicholas Nethercote-9/+9
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-1/+1
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-3/+3
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-6/+3
2024-03-05Convert `TypeVisitor` and `DefIdVisitor` to use `VisitorResult`Jason Newcomb-3/+10
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-1/+1
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-1/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-6/+6
2024-02-25Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkinbors-4/+24
2024-02-21Docs for extension proc-macroMichael Goulet-0/+14
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-3/+7
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-38/+1
2024-02-17Make synstructure underscore_const(true) the defaultUrgau-4/+24
2024-02-16NitsMichael Goulet-1/+8
2024-02-16Move trait into attr so it's greppableMichael Goulet-14/+25
2024-02-16Add a simple extension trait deriveMichael Goulet-0/+142
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-38/+1
2024-02-09Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwcoMatthias Krüger-2/+0
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-4/+1
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-3/+3
2024-01-25Remove unused featuresclubby789-1/+0
2024-01-24Correctly explain `ensure_forwards_result_if_red`Oli Scherer-1/+2
2024-01-23Rename `LintContext::struct_span_lint` as `LintContext::span_lint`.Nicholas Nethercote-1/+1
2024-01-14Rework how diagnostic lints are stored.Nicholas Nethercote-1/+1
2024-01-09u8 tags for smaller enumsMark Rousskov-6/+24
2024-01-06Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiserbors-0/+18
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-19/+19
2023-12-31Avoid specialization for the Span Encodable and Decodable implsbjorn3-0/+18
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-2/+7
2023-12-19Streamline `Diagnostic` proc macro.Nicholas Nethercote-83/+45