Rollup merge of #102049 - fee1-dead-contrib:derive_const, r=oli-obk

Add the `#[derive_const]` attribute

Closes #102371. This is a minimal patchset for the attribute to work. There are no restrictions on what traits this attribute applies to.

r? `````@oli-obk`````
This commit is contained in:
Dylan DPC
2022-11-12 12:02:50 +05:30
committed by GitHub
30 changed files with 163 additions and 30 deletions

View File

@@ -620,6 +620,7 @@ symbols! {
deref_mut,
deref_target,
derive,
derive_const,
derive_default_enum,
destruct,
destructuring_assignment,