File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -90,11 +90,19 @@ if true {
90
90
};
91
91
```
92
92
93
+ ## Attributes on Statements
94
+
95
+ Statements accept [ outer attributes] . The attributes that have meaning on a
96
+ statement are [ ` cfg ` ] , and [ the lint check attributes] .
97
+
93
98
[ block ] : expressions/block-expr.html
94
99
[ expression ] : expressions.html
95
100
[ function ] : items/functions.html
96
101
[ item ] : items.html
97
102
[ module ] : items/modules.html
98
103
[ canonical path ] : paths.html#canonical-paths
99
104
[ implementations ] : items/implementations.html
100
- [ variables ] : variables.html
105
+ [ variables ] : variables.html
106
+ [ outer attributes ] : attributes.html
107
+ [ `cfg` ] : attributes.html#conditional-compilation
108
+ [ the lint check attributes ] : attributes.html#lint-check-attributes.html
You can’t perform that action at this time.
0 commit comments