about summary refs log tree commit diff
path: root/compiler/rustc_macros/src
AgeCommit message (Expand)AuthorLines
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
2023-12-19Remove unnecessary `use` items in derived `IntoDiagnostic` impls.Nicholas Nethercote-3/+0
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-2/+2
2023-12-18Rename `__diagnostic_handler_sess` as `_sess`.Nicholas Nethercote-4/+5
2023-12-18Rename `DiagnosticDeriveKind::Diagnostic::handler` as `DiagnosticDeriveKind::...Nicholas Nethercote-10/+10
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-1/+1
2023-12-16Simplify lint decorator derive tooMichael Goulet-2/+2
2023-12-10remove redundant importssurechen-3/+3
2023-11-21Unify HashStable implementationsMichael Goulet-64/+49
2023-11-21Add HashStable_NoContext to simplify HashStable implementations in rustc_type_irMichael Goulet-0/+51
2023-11-18Begin nightly-ifying rustc_type_irMichael Goulet-334/+0
2023-11-15Re-format code with new rustfmtMark Rousskov-1/+3
2023-11-10Factor out some duplicated code.Nicholas Nethercote-42/+31
2023-11-10Update instructions in a comment.Nicholas Nethercote-10/+3
2023-11-10Minor cleanups.Nicholas Nethercote-11/+14
2023-11-10Simplify the `current_rustc_version` macro.Nicholas Nethercote-29/+11
2023-11-04Derive TyEncodable/TyDecodable implementations that are parameterized over in...Michael Goulet-10/+20
2023-10-28Rollup merge of #117256 - dtolnay:currentversion, r=compiler-errorsJubilee-0/+65