index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
compiler
/
rustc_macros
/
src
/
diagnostics
/
subdiagnostic.rs
Age
Commit message (
Expand
)
Author
Lines
2025-06-26
Only args in main diag are saved and restored without removing the newly adde...
xizheyin
-11
/
+5
2025-06-25
Add runtime check to avoid overwrite arg easily in diag and store and restore...
xizheyin
-5
/
+25
2025-04-16
Move eager translation to a method on `Diag`
Jake Goulding
-11
/
+4
2024-09-22
Reformat using the new identifier sorting from rustfmt
Michael Goulet
-5
/
+5
2024-07-29
Reformat `use` declarations.
Nicholas Nethercote
-6
/
+7
2024-07-14
Suppress some fallout from gen in synstructure
Michael Goulet
-0
/
+4
2024-05-21
Fix subdiagnostic-only enum variants not generating code
Xiretza
-2
/
+2
2024-04-21
Allow nesting subdiagnostics
Xiretza
-12
/
+25
2024-04-21
Pass translation closure to add_to_diag_with() as reference
Xiretza
-1
/
+1
2024-03-11
Rename diagnostic derive things.
Nicholas Nethercote
-3
/
+3
2024-03-11
Rename `AddToDiagnostic` as `Subdiagnostic`.
Nicholas Nethercote
-3
/
+3
2024-03-05
Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.
Nicholas Nethercote
-1
/
+1
2024-02-28
Rename `DiagnosticBuilder` as `Diag`.
Nicholas Nethercote
-2
/
+2
2024-02-20
Reduce capabilities of `Diagnostic`.
Nicholas Nethercote
-3
/
+7
2024-02-08
Add `SubdiagnosticMessageOp` as a trait alias.
Nicholas Nethercote
-4
/
+1
2024-01-03
Rename some `Diagnostic` setters.
Nicholas Nethercote
-7
/
+7
2023-12-19
Remove unnecessary `use` items in derived `IntoDiagnostic` impls.
Nicholas Nethercote
-1
/
+0
2023-11-10
Minor cleanups.
Nicholas Nethercote
-1
/
+1
2023-10-13
Format all the let chains in compiler
Michael Goulet
-1
/
+3
2023-07-12
Re-format let-else per rustfmt update
Mark Rousskov
-1
/
+3
2023-06-23
avoid `&format` in error message code
Takayuki Maeda
-1
/
+1
2023-06-01
Use translatable diagnostics in `rustc_const_eval`
Deadbeef
-7
/
+16
2023-05-08
Make spans a bit better
Michael Goulet
-9
/
+12
2023-05-08
Diagnostic args are still args if they're documented
Michael Goulet
-7
/
+5
2023-04-06
fix errors
Deadbeef
-0
/
+1
2023-04-06
migrate rustc_macros to syn 2.0
Deadbeef
-41
/
+37
2023-02-22
errors: generate typed identifiers in each crate
David Wood
-1
/
+3
2023-02-01
Forbid #[suggestion_*(...)] on Vecs
Xiretza
-5
/
+16
2023-01-05
Fix `uninlined_format_args` for some compiler crates
nils
-2
/
+1
2022-12-20
rustc: Remove needless lifetimes
Jeremy Stucki
-1
/
+1
2022-12-01
Remove useless borrows and derefs
Maybe Waffle
-2
/
+2
2022-10-23
Allow specifying multiple alternative suggestions
Xiretza
-9
/
+12
2022-10-17
infer: use derive more
David Wood
-0
/
+2
2022-10-17
macros: fully specify path to `Fn`
David Wood
-1
/
+1
2022-10-17
macros: allow subdiagnostic-kind-less variants
David Wood
-5
/
+16
2022-10-17
macros: support doc comments in diag derives
David Wood
-4
/
+18
2022-10-10
macros: separate suggestion fmt'ing and emission
David Wood
-12
/
+38
2022-10-10
errors: `AddToDiagnostic::add_to_diagnostic_with`
David Wood
-17
/
+28
2022-09-27
Allow raw identifiers to be used as fluent arguments
Xiretza
-0
/
+3
2022-09-26
macros: support diagnostic derive on enums
David Wood
-19
/
+7
2022-09-22
Better error recovery in Subdiagnostic derive
Xiretza
-20
/
+28
2022-09-22
Extract subdiagnostic attribute parsing
Xiretza
-231
/
+42
2022-09-22
Make SetOnce nicer to use
Xiretza
-13
/
+16
2022-09-21
UPDATE - rename SessionSubdiagnostic macro to Subdiagnostic
Jhonny Bill Mena
-9
/
+9
2022-09-21
UPDATE - rename AddSubdiagnostic trait to AddToDiagnostic
Jhonny Bill Mena
-1
/
+1
2022-09-01
Allow deriving multiple subdiagnostics using one SessionSubdiagnostic
Xiretza
-96
/
+120
2022-09-01
Revert parts of "use derive proc macro to impl SessionDiagnostic"
Xiretza
-249
/
+445
2022-08-31
use derive proc macro to impl SessionDiagnostic
Yuanheng Li
-445
/
+249
2022-08-30
Rework SessionSubdiagnostic derive to support multipart_suggestion
Xiretza
-219
/
+389
2022-08-30
SessionSubdiagnostic: make `#[applicability]` optional
Xiretza
-8
/
+4
[next]