From 2e74291290c23f60428917b0449aa1d0656263eb Mon Sep 17 00:00:00 2001 From: Pedro Larroy Date: Mon, 15 Dec 2014 15:01:26 +0100 Subject: [PATCH] remove explicit if_let and tuple_indexing feature enables as they now trigger warnings --- src/libcollections/lib.rs | 2 +- src/librustc_borrowck/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 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..ffc5a3919b60f 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)]