about summary refs log tree commit diff
path: root/src/librustdoc/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-27 04:39:25 +0000
committerbors <bors@rust-lang.org>2022-09-27 04:39:25 +0000
commitde0b511daa91469dd251e736fb8914d2360ac0ec (patch)
treebdd50aa56303c3c9ccb9d8312c325c86cc1c52f0 /src/librustdoc/lib.rs
parentcd4d9d934fd3bc1b6a0b0fcb3548a1b26fc53c9d (diff)
parentf20c882b8b65f09701ef937b765e93e76682a298 (diff)
downloadrust-de0b511daa91469dd251e736fb8914d2360ac0ec.tar.gz
rust-de0b511daa91469dd251e736fb8914d2360ac0ec.zip
Auto merge of #102189 - davidtwco:translation-derive-enums, r=compiler-errors
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`
Diffstat (limited to 'src/librustdoc/lib.rs')
0 files changed, 0 insertions, 0 deletions