From 6eba959526488104cf46fd4213b5625a8c885ca1 Mon Sep 17 00:00:00 2001 From: Clark Gaebel Date: Mon, 15 Dec 2014 23:06:23 -0500 Subject: [PATCH] fixed "Feature accepted" warnings --- src/libcollections/lib.rs | 2 +- src/librustc_borrowck/lib.rs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs index 039bbcd2b7020..274fa13d07449 100644 --- a/src/libcollections/lib.rs +++ b/src/libcollections/lib.rs @@ -24,7 +24,7 @@ #![allow(unknown_features)] #![feature(macro_rules, default_type_params, phase, globs)] #![feature(unsafe_destructor, import_shadowing, slicing_syntax)] -#![feature(tuple_indexing, unboxed_closures)] +#![feature(unboxed_closures)] #![no_std] #[phase(plugin, link)] extern crate core; diff --git a/src/librustc_borrowck/lib.rs b/src/librustc_borrowck/lib.rs index db19a09deba3a..3223c7985b959 100644 --- a/src/librustc_borrowck/lib.rs +++ b/src/librustc_borrowck/lib.rs @@ -16,8 +16,8 @@ html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://doc.rust-lang.org/nightly/")] -#![feature(default_type_params, globs, if_let, import_shadowing, macro_rules, phase, quote)] -#![feature(slicing_syntax, tuple_indexing, unsafe_destructor)] +#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)] +#![feature(slicing_syntax, unsafe_destructor)] #![feature(rustc_diagnostic_macros)] #![feature(unboxed_closures)] #![allow(non_camel_case_types)] @@ -37,4 +37,3 @@ pub use borrowck::FnPartsWithCFG; mod borrowck; pub mod graphviz; -