File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,10 @@ to be run.
23
23
* [ Const parameters] .
24
24
* [ Paths] to [ functions] and [ constants] .
25
25
Recursively defining constants is not allowed.
26
- * Paths to immutable [ statics] .
27
- * Reads of [ ` extern ` statics] are not allowed.
28
- * Reads from and writes to a ` static ` with interior mutability are not allowed.
26
+ * Paths to immutable [ statics] with these restrictions and observations.
27
+ * In particular, reads and writes to ` static mut ` are not allowed.
28
+ * Reads out of and writes into a ` static ` with data equipped with interior mutability are not allowed.
29
+ * Reads out of and writes into [ ` extern ` statics] are not allowed.
29
30
* [ Tuple expressions] .
30
31
* [ Array expressions] .
31
32
* [ Struct] expressions.
You can’t perform that action at this time.
0 commit comments