Auto merge of #49252 - Manishearth:easy-feature-flag, r=nikomatsakis

Easy edition feature flag

We no longer gate features on epochs; instead we have a `#![feature(rust_2018_preview)]` that flips on a bunch of features (currently dyn_trait).

Based on #49001 to avoid merge conflicts

r? @nikomatsakis
This commit is contained in:
bors 2018-04-02 18:14:09 +00:00
commit 934902af61
3 changed files with 31 additions and 14 deletions

View file

@ -11,7 +11,7 @@
// Checks if the correct registers are being used to pass arguments
// when the sysv64 ABI is specified.
// compile-flags: -Zedition=2018
#![feature(rust_2018_preview)]
pub trait Foo {}