File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,11 @@ variant constructors or struct constructors (for unit or tuple structs). This
168
168
is because Rust currently does not support compile-time function execution.
169
169
"## ,
170
170
171
+ E0018 : r##"
172
+ The value of static and const variables must be known at compile time, which is
173
+ not possible with a pointer or with a value pointed by a pointer.
174
+ "## ,
175
+
171
176
E0020 : r##"
172
177
This error indicates that an attempt was made to divide by zero (or take the
173
178
remainder of a zero divisor) in a static or constant expression.
@@ -398,7 +403,6 @@ register_diagnostics! {
398
403
E0014 ,
399
404
E0016 ,
400
405
E0017 ,
401
- E0018 ,
402
406
E0019 ,
403
407
E0022 ,
404
408
E0079 , // enum variant: expected signed integer constant
You can’t perform that action at this time.
0 commit comments