We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef6d427 commit 9be3d10Copy full SHA for 9be3d10
src/test/compile-fail/consts/const-fn-error.rs
@@ -5,9 +5,7 @@ const X : usize = 2;
5
const fn f(x: usize) -> usize {
6
let mut sum = 0;
7
for i in 0..x {
8
- //~^ ERROR E0015
9
- //~| ERROR E0015
10
- //~| ERROR E0658
+ //~^ ERROR mutable references
11
//~| ERROR E0080
12
//~| ERROR E0744
13
sum += i;
0 commit comments