File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,14 @@ The *`derive` [attribute][attributes]* allows new [items] to be automatically ge
2929r [attributes . derive. syntax]
3030The `derive ` attribute uses the [MetaListPaths ] syntax to specify a list of paths to [derive macros ] to process .
3131
32+ r [attributes . derive. allowed- positions ]
33+ The `derive ` attribute may be applied to [structs ][items . struct ], [enums ][items . enum ], and [unions ][items . union ].
34+
35+ r [attributes . derive. duplicates]
36+ The `derive ` attribute may be specified multiple times on an item , with all entries from all attributes being processed .
37+
38+ r [attributes . derive. stdlib]
39+ The `derive ` attribute is exported in the standard library prelude as [`core :: prelude :: v1 :: derive `].
3240
3341
3442r [attributes . derive. automatically_derived]
You can’t perform that action at this time.
0 commit comments