Skip to content

Commit bb402f1

Browse files
Enable const_fn in newtype test
1 parent 5e175e6 commit bb402f1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/librustc_target/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#![feature(box_syntax)]
2525
#![feature(nll)]
2626
#![feature(slice_patterns)]
27+
#![feature(const_fn)]
2728

2829
#[macro_use]
2930
extern crate bitflags;

src/test/run-pass-fulldeps/newtype_index.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(rustc_attrs, rustc_private, step_trait)]
1+
#![feature(rustc_attrs, rustc_private, step_trait, const_fn)]
22

33
#[macro_use] extern crate rustc_data_structures;
44
extern crate rustc_serialize;

0 commit comments

Comments
 (0)