Skip to content

Commit df2123c

Browse files
committed
Update compile-fail test
1 parent dba5ba0 commit df2123c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/compile-fail/const-fn-error.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ const X : usize = 2;
1414

1515
const fn f(x: usize) -> usize {
1616
let mut sum = 0;
17-
//~^ let bindings in constant functions are unstable
18-
//~| statements in constant functions are unstable
1917
for i in 0..x {
2018
//~^ ERROR E0015
2119
//~| ERROR E0019

0 commit comments

Comments
 (0)