Skip to content

Commit 9be3d10

Browse files
Bless compile-fail
1 parent ef6d427 commit 9be3d10

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/compile-fail/consts/const-fn-error.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ const X : usize = 2;
55
const fn f(x: usize) -> usize {
66
let mut sum = 0;
77
for i in 0..x {
8-
//~^ ERROR E0015
9-
//~| ERROR E0015
10-
//~| ERROR E0658
8+
//~^ ERROR mutable references
119
//~| ERROR E0080
1210
//~| ERROR E0744
1311
sum += i;

0 commit comments

Comments
 (0)