Update `compile-fail` test

This commit is contained in:
Dylan MacKenzie 2020-09-29 19:45:06 -07:00
parent 287993c961
commit bed7b29510
1 changed files with 2 additions and 0 deletions

View File

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