From 4a83726517009688440ac99771560968d33d015c Mon Sep 17 00:00:00 2001 From: Simon Wollwage Date: Thu, 20 Nov 2014 00:21:32 +0100 Subject: [PATCH] removed usage of struct_variant feature as it is no longer gated --- src/librustc/lib.rs | 2 +- src/librustc_trans/lib.rs | 2 +- src/librustdoc/lib.rs | 2 +- src/libsyntax/lib.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs index 0da9b05d4f8..f272bb52a14 100644 --- a/src/librustc/lib.rs +++ b/src/librustc/lib.rs @@ -29,7 +29,7 @@ This API is completely unstable and subject to change. 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, struct_variant, tuple_indexing, unsafe_destructor)] +#![feature(slicing_syntax, tuple_indexing, unsafe_destructor)] #![feature(rustc_diagnostic_macros)] extern crate arena; diff --git a/src/librustc_trans/lib.rs b/src/librustc_trans/lib.rs index ad9333e5794..f89580b768e 100644 --- a/src/librustc_trans/lib.rs +++ b/src/librustc_trans/lib.rs @@ -29,7 +29,7 @@ This API is completely unstable and subject to change. 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, struct_variant, unsafe_destructor)] +#![feature(slicing_syntax, unsafe_destructor)] #![feature(rustc_diagnostic_macros)] extern crate arena; diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 0350fe72e11..ab60ad40eae 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -16,7 +16,7 @@ #![crate_type = "rlib"] #![allow(unknown_features)] -#![feature(globs, struct_variant, macro_rules, phase, slicing_syntax, tuple_indexing)] +#![feature(globs, macro_rules, phase, slicing_syntax, tuple_indexing)] extern crate arena; extern crate getopts; diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index fa10cb90f83..c9d72603b89 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -25,7 +25,7 @@ #![allow(unknown_features)] #![feature(if_let, macro_rules, globs, default_type_params, phase, slicing_syntax)] -#![feature(quote, struct_variant, unsafe_destructor, import_shadowing)] +#![feature(quote, unsafe_destructor, import_shadowing)] extern crate arena; extern crate fmt_macros;