From: Oliver Scherer Date: Tue, 11 Dec 2018 09:43:40 +0000 (+0100) Subject: Properly stage new feature gates X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=5457b19fe9ecc936129755005de439d44e27a4ec;p=rust.git Properly stage new feature gates --- diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 1feb6f268fa..a69ec76376a 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -271,7 +271,7 @@ #![feature(libc)] #![feature(link_args)] #![feature(linkage)] -#![feature(min_const_unsafe_fn)] +#![cfg_attr(not(stage0), feature(min_const_unsafe_fn))] #![feature(needs_panic_runtime)] #![feature(never_type)] #![feature(nll)]