Bless compile-fail
This commit is contained in:
parent
ef6d4277ed
commit
9be3d106c3
@ -5,9 +5,7 @@ const X : usize = 2;
|
||||
const fn f(x: usize) -> usize {
|
||||
let mut sum = 0;
|
||||
for i in 0..x {
|
||||
//~^ ERROR E0015
|
||||
//~| ERROR E0015
|
||||
//~| ERROR E0658
|
||||
//~^ ERROR mutable references
|
||||
//~| ERROR E0080
|
||||
//~| ERROR E0744
|
||||
sum += i;
|
||||
|
Loading…
Reference in New Issue
Block a user