We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
static
1 parent 97abd04 commit 68fb8b8Copy full SHA for 68fb8b8
src/const_eval.md
@@ -25,6 +25,7 @@ to be run.
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.
29
* [Tuple expressions].
30
* [Array expressions].
31
* [Struct] expressions.
0 commit comments