From 7ea05c3d3ee15dbf51a9696b4ce9ad0d219fb8e9 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Thu, 14 Sep 2017 22:39:19 -0700 Subject: [PATCH] Remove 'drop_types_in_const' feature: stabilized. --- contrib/src/lib.rs | 2 +- lib/build.rs | 4 ++-- lib/src/lib.rs | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/contrib/src/lib.rs b/contrib/src/lib.rs index 74237adf..8e47834f 100644 --- a/contrib/src/lib.rs +++ b/contrib/src/lib.rs @@ -1,4 +1,4 @@ -#![feature(drop_types_in_const, macro_reexport)] +#![feature(macro_reexport)] #![cfg_attr(feature = "templates", feature(conservative_impl_trait))] // TODO: Version URLs. diff --git a/lib/build.rs b/lib/build.rs index 607350f4..33d1efe3 100644 --- a/lib/build.rs +++ b/lib/build.rs @@ -8,8 +8,8 @@ use yansi::Color::{Red, Yellow, Blue, White}; use version_check::{supports_features, is_min_version, is_min_date}; // Specifies the minimum nightly version needed to compile Rocket. -const MIN_DATE: &'static str = "2017-07-09"; -const MIN_VERSION: &'static str = "1.20.0-nightly"; +const MIN_DATE: &'static str = "2017-09-13"; +const MIN_VERSION: &'static str = "1.22.0-nightly"; fn main() { let ok_channel = supports_features(); diff --git a/lib/src/lib.rs b/lib/src/lib.rs index f0f5061b..6b82c87c 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -1,6 +1,5 @@ #![feature(specialization)] #![feature(conservative_impl_trait)] -#![feature(drop_types_in_const)] #![feature(const_fn)] #![feature(lookup_host)] #![feature(plugin)]