mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 20:17:55 +00:00
![]() macros: diagnostic derive on enums Part of #100717. Extends `#[derive(Diagnostic)]` to work on enums too where each variant acts like a distinct diagnostic - being able to represent diagnostics this way can be quite a bit simpler for some parts of the compiler. r? `@compiler-errors` cc `@Xiretza` |
||
---|---|---|
.. | ||
diagnostics | ||
symbols | ||
hash_stable.rs | ||
lib.rs | ||
lift.rs | ||
newtype.rs | ||
query.rs | ||
serialize.rs | ||
symbols.rs | ||
type_foldable.rs | ||
type_visitable.rs |