Update compile-fail test
This commit is contained in:
parent
dba5ba02f7
commit
df2123cff2
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue