1
Fork 0

Remove unnecessary or invalid feature attributes

This commit is contained in:
varkor 2018-07-23 01:14:41 +01:00
parent 9f9ac89d11
commit 64185f205d
10 changed files with 3 additions and 39 deletions

View file

@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#![feature(rand)]
extern crate rand; extern crate rand;
mod _common; mod _common;

View file

@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#![feature(rand)]
extern crate rand; extern crate rand;
mod _common; mod _common;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#![feature(rand)]
#![feature(repr_simd)] #![feature(repr_simd)]
#![feature(slice_sort_by_cached_key)] #![feature(slice_sort_by_cached_key)]
#![feature(test)] #![feature(test)]

View file

@ -75,26 +75,22 @@
#![deny(missing_debug_implementations)] #![deny(missing_debug_implementations)]
#![cfg_attr(test, allow(deprecated))] // rand #![cfg_attr(test, allow(deprecated))] // rand
#![cfg_attr(not(test), feature(exact_size_is_empty))]
#![cfg_attr(not(test), feature(generator_trait))] #![cfg_attr(not(test), feature(generator_trait))]
#![cfg_attr(test, feature(rand, test))] #![cfg_attr(test, feature(rand, test))]
#![feature(allocator_api)] #![feature(allocator_api)]
#![feature(allow_internal_unstable)] #![feature(allow_internal_unstable)]
#![feature(arbitrary_self_types)] #![feature(arbitrary_self_types)]
#![feature(ascii_ctype)]
#![feature(box_into_raw_non_null)] #![feature(box_into_raw_non_null)]
#![feature(box_patterns)] #![feature(box_patterns)]
#![feature(box_syntax)] #![feature(box_syntax)]
#![feature(cfg_target_has_atomic)] #![feature(cfg_target_has_atomic)]
#![feature(coerce_unsized)] #![feature(coerce_unsized)]
#![feature(collections_range)]
#![feature(const_fn)] #![feature(const_fn)]
#![feature(core_intrinsics)] #![feature(core_intrinsics)]
#![feature(custom_attribute)] #![feature(custom_attribute)]
#![feature(dropck_eyepatch)] #![feature(dropck_eyepatch)]
#![feature(exact_size_is_empty)] #![feature(exact_size_is_empty)]
#![feature(fmt_internals)] #![feature(fmt_internals)]
#![feature(from_ref)]
#![feature(fundamental)] #![feature(fundamental)]
#![feature(futures_api)] #![feature(futures_api)]
#![feature(lang_items)] #![feature(lang_items)]
@ -118,12 +114,10 @@
#![feature(allocator_internals)] #![feature(allocator_internals)]
#![feature(on_unimplemented)] #![feature(on_unimplemented)]
#![feature(exact_chunks)] #![feature(exact_chunks)]
#![feature(pointer_methods)]
#![feature(inclusive_range_methods)]
#![feature(rustc_const_unstable)] #![feature(rustc_const_unstable)]
#![feature(const_vec_new)] #![feature(const_vec_new)]
#![cfg_attr(not(test), feature(fn_traits, i128))] #![cfg_attr(not(test), feature(fn_traits))]
#![cfg_attr(test, feature(test))] #![cfg_attr(test, feature(test))]
// Allow testing this library // Allow testing this library

View file

@ -16,7 +16,6 @@
#![feature(drain_filter)] #![feature(drain_filter)]
#![feature(exact_size_is_empty)] #![feature(exact_size_is_empty)]
#![feature(pattern)] #![feature(pattern)]
#![feature(rand)]
#![feature(slice_sort_by_cached_key)] #![feature(slice_sort_by_cached_key)]
#![feature(splice)] #![feature(splice)]
#![feature(str_escape)] #![feature(str_escape)]

View file

@ -82,7 +82,6 @@
#![feature(concat_idents)] #![feature(concat_idents)]
#![feature(const_fn)] #![feature(const_fn)]
#![feature(const_int_ops)] #![feature(const_int_ops)]
#![feature(core_float)]
#![feature(custom_attribute)] #![feature(custom_attribute)]
#![feature(doc_cfg)] #![feature(doc_cfg)]
#![feature(doc_spotlight)] #![feature(doc_spotlight)]
@ -102,8 +101,6 @@
#![feature(rustc_attrs)] #![feature(rustc_attrs)]
#![feature(rustc_const_unstable)] #![feature(rustc_const_unstable)]
#![feature(simd_ffi)] #![feature(simd_ffi)]
#![feature(core_slice_ext)]
#![feature(core_str_ext)]
#![feature(specialization)] #![feature(specialization)]
#![feature(staged_api)] #![feature(staged_api)]
#![feature(stmt_expr_attributes)] #![feature(stmt_expr_attributes)]
@ -111,7 +108,6 @@
#![feature(untagged_unions)] #![feature(untagged_unions)]
#![feature(unwind_attributes)] #![feature(unwind_attributes)]
#![feature(doc_alias)] #![feature(doc_alias)]
#![feature(inclusive_range_methods)]
#![feature(mmx_target_feature)] #![feature(mmx_target_feature)]
#![feature(tbm_target_feature)] #![feature(tbm_target_feature)]
#![feature(sse4a_target_feature)] #![feature(sse4a_target_feature)]

View file

@ -8,10 +8,8 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#![feature(ascii_ctype)]
#![feature(box_syntax)] #![feature(box_syntax)]
#![feature(cell_update)] #![feature(cell_update)]
#![feature(core_float)]
#![feature(core_private_bignum)] #![feature(core_private_bignum)]
#![feature(core_private_diy_float)] #![feature(core_private_diy_float)]
#![feature(dec2flt)] #![feature(dec2flt)]
@ -19,7 +17,6 @@
#![feature(euclidean_division)] #![feature(euclidean_division)]
#![feature(exact_size_is_empty)] #![feature(exact_size_is_empty)]
#![feature(fixed_size_array)] #![feature(fixed_size_array)]
#![feature(float_internals)]
#![feature(flt2dec)] #![feature(flt2dec)]
#![feature(fmt_internals)] #![feature(fmt_internals)]
#![feature(hashmap_internals)] #![feature(hashmap_internals)]

View file

@ -250,17 +250,13 @@
#![feature(cfg_target_thread_local)] #![feature(cfg_target_thread_local)]
#![feature(cfg_target_vendor)] #![feature(cfg_target_vendor)]
#![feature(char_error_internals)] #![feature(char_error_internals)]
#![feature(char_internals)]
#![feature(collections_range)]
#![feature(compiler_builtins_lib)] #![feature(compiler_builtins_lib)]
#![feature(const_fn)] #![feature(const_fn)]
#![feature(core_intrinsics)] #![feature(core_intrinsics)]
#![feature(dropck_eyepatch)] #![feature(dropck_eyepatch)]
#![feature(exact_size_is_empty)] #![feature(exact_size_is_empty)]
#![feature(external_doc)] #![feature(external_doc)]
#![feature(fs_read_write)]
#![feature(fixed_size_array)] #![feature(fixed_size_array)]
#![feature(float_from_str_radix)]
#![feature(fn_traits)] #![feature(fn_traits)]
#![feature(fnbox)] #![feature(fnbox)]
#![feature(futures_api)] #![feature(futures_api)]
@ -268,7 +264,6 @@
#![feature(hashmap_internals)] #![feature(hashmap_internals)]
#![feature(int_error_internals)] #![feature(int_error_internals)]
#![feature(integer_atomics)] #![feature(integer_atomics)]
#![feature(into_cow)]
#![feature(lang_items)] #![feature(lang_items)]
#![feature(libc)] #![feature(libc)]
#![feature(link_args)] #![feature(link_args)]
@ -277,34 +272,25 @@
#![feature(needs_panic_runtime)] #![feature(needs_panic_runtime)]
#![feature(never_type)] #![feature(never_type)]
#![feature(exhaustive_patterns)] #![feature(exhaustive_patterns)]
#![feature(num_bits_bytes)]
#![feature(old_wrapping)]
#![feature(on_unimplemented)] #![feature(on_unimplemented)]
#![feature(oom)]
#![feature(optin_builtin_traits)] #![feature(optin_builtin_traits)]
#![feature(panic_internals)] #![feature(panic_internals)]
#![feature(panic_unwind)] #![feature(panic_unwind)]
#![feature(peek)]
#![feature(pin)] #![feature(pin)]
#![feature(placement_new_protocol)]
#![feature(prelude_import)] #![feature(prelude_import)]
#![feature(ptr_internals)] #![feature(ptr_internals)]
#![feature(rand)]
#![feature(raw)] #![feature(raw)]
#![feature(rustc_attrs)] #![feature(rustc_attrs)]
#![feature(std_internals)] #![feature(std_internals)]
#![feature(stdsimd)] #![feature(stdsimd)]
#![feature(shrink_to)] #![feature(shrink_to)]
#![feature(slice_bytes)]
#![feature(slice_concat_ext)] #![feature(slice_concat_ext)]
#![feature(slice_internals)] #![feature(slice_internals)]
#![feature(slice_patterns)] #![feature(slice_patterns)]
#![feature(staged_api)] #![feature(staged_api)]
#![feature(stmt_expr_attributes)] #![feature(stmt_expr_attributes)]
#![feature(str_char)]
#![feature(str_internals)] #![feature(str_internals)]
#![feature(str_utf16)] #![feature(rustc_private)]
#![feature(test, rustc_private)]
#![feature(thread_local)] #![feature(thread_local)]
#![feature(toowned_clone_into)] #![feature(toowned_clone_into)]
#![feature(try_from)] #![feature(try_from)]
@ -313,7 +299,6 @@
#![feature(untagged_unions)] #![feature(untagged_unions)]
#![feature(unwind_attributes)] #![feature(unwind_attributes)]
#![feature(use_extern_macros)] #![feature(use_extern_macros)]
#![feature(vec_push_all)]
#![feature(doc_cfg)] #![feature(doc_cfg)]
#![feature(doc_masked)] #![feature(doc_masked)]
#![feature(doc_spotlight)] #![feature(doc_spotlight)]
@ -321,7 +306,6 @@
#![cfg_attr(windows, feature(used))] #![cfg_attr(windows, feature(used))]
#![feature(doc_alias)] #![feature(doc_alias)]
#![feature(doc_keyword)] #![feature(doc_keyword)]
#![feature(float_internals)]
#![feature(panic_info_message)] #![feature(panic_info_message)]
#![feature(panic_implementation)] #![feature(panic_implementation)]

View file

@ -19,7 +19,6 @@
html_root_url = "https://doc.rust-lang.org/nightly/", html_root_url = "https://doc.rust-lang.org/nightly/",
test(attr(deny(warnings))))] test(attr(deny(warnings))))]
#![feature(const_atomic_usize_new)]
#![feature(crate_visibility_modifier)] #![feature(crate_visibility_modifier)]
#![feature(macro_at_most_once_rep)] #![feature(macro_at_most_once_rep)]
#![feature(rustc_attrs)] #![feature(rustc_attrs)]

View file

@ -9,7 +9,7 @@
// except according to those terms. // except according to those terms.
// //
#![feature(core, str_char)] #![feature(core)]
use std::str; use std::str;