Skip to content

Commit 92f0203

Browse files
authored
Merge pull request #128 from sunjay/allow-stable-features
Allow stable features + a note about why
2 parents cd78311 + 3ffd948 commit 92f0203

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

chalk-engine/src/lib.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,17 @@
5151
5252
#![feature(crate_in_paths)]
5353
#![feature(crate_visibility_modifier)]
54-
#![feature(dyn_trait)]
5554
#![feature(in_band_lifetimes)]
5655
#![feature(macro_vis_matcher)]
5756
#![feature(step_trait)]
5857
#![feature(non_modrs_mods)]
5958

59+
//FIXME(2018-05-14): In rustc we build using beta and dyn trait is still unstable right now, so we
60+
// need to allow this to remove the warning about dyn_trait being stable in the latest rust.
61+
// We should probably eventually remove this `allow` and delete any unecessary `feature` declarations.
62+
#![allow(stable_features)]
63+
#![feature(dyn_trait)]
64+
6065
#[macro_use] extern crate chalk_macros;
6166
extern crate stacker;
6267
extern crate fxhash;

0 commit comments

Comments
 (0)