Bless compile-fail

This commit is contained in:
Dylan MacKenzie 2020-09-17 12:48:09 -07:00
parent ef6d4277ed
commit 9be3d106c3

View File

@ -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;