Update compile-fail test

This commit is contained in:
Oliver Scherer 2018-11-22 17:19:55 +01:00
parent dba5ba02f7
commit df2123cff2

View file

@ -14,8 +14,6 @@ const X : usize = 2;
const fn f(x: usize) -> usize {
let mut sum = 0;
//~^ let bindings in constant functions are unstable
//~| statements in constant functions are unstable
for i in 0..x {
//~^ ERROR E0015
//~| ERROR E0019