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
29
29
r [attributes . derive. syntax]
30
30
The `derive ` attribute uses the [MetaListPaths ] syntax to specify a list of paths to [derive macros ] to process .
31
31
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 `].
32
40
33
41
34
42
r [attributes . derive. automatically_derived]
You can’t perform that action at this time.
0 commit comments