Bless compile-fail
This commit is contained in:
parent
ef6d4277ed
commit
9be3d106c3
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue