We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Downcast
for
1 parent 9a2e53a commit a4ce201Copy full SHA for a4ce201
src/test/compile-fail/consts/const-fn-error.rs
@@ -9,6 +9,7 @@ const fn f(x: usize) -> usize {
9
//~| ERROR E0017
10
//~| ERROR E0080
11
//~| ERROR E0744
12
+ //~| ERROR E0019
13
sum += i;
14
}
15
sum
src/test/compile-fail/issue-52443.rs
@@ -11,4 +11,5 @@ fn main() {
//~| ERROR `for` is not allowed in a `const`
//~| ERROR references in constants may only refer to immutable values
//~| ERROR evaluation of constant value failed
+ //~| ERROR constant contains unimplemented expression type
0 commit comments