Update compile-fail
test
This commit is contained in:
parent
287993c961
commit
bed7b29510
@ -6,6 +6,8 @@ const fn f(x: usize) -> usize {
|
||||
let mut sum = 0;
|
||||
for i in 0..x {
|
||||
//~^ ERROR mutable references
|
||||
//~| ERROR calls in constant functions
|
||||
//~| ERROR calls in constant functions
|
||||
//~| ERROR E0080
|
||||
//~| ERROR E0744
|
||||
sum += i;
|
||||
|
Loading…
Reference in New Issue
Block a user