Skip to content

Commit ac47bd7

Browse files
committed
Fix a compile-fail test
1 parent 16d2a92 commit ac47bd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(const_fn)]
11+
#![feature(const_fn, const_let)]
1212

1313
const X : usize = 2;
1414

0 commit comments

Comments
 (0)