Remove unused `#![feature(custom_attribute)]`s

This commit is contained in:
Vadim Petrochenkov 2019-06-08 11:35:30 +03:00
parent 5c6f6b810c
commit 8049e6199b
15 changed files with 4 additions and 19 deletions

View File

@ -75,7 +75,6 @@
#![feature(concat_idents)]
#![feature(const_fn)]
#![feature(const_fn_union)]
#![feature(custom_attribute)]
#![feature(doc_cfg)]
#![feature(doc_spotlight)]
#![feature(extern_types)]

View File

@ -10,7 +10,6 @@
#![feature(box_syntax)]
#![feature(const_cstr_unchecked)]
#![feature(crate_visibility_modifier)]
#![feature(custom_attribute)]
#![feature(extern_types)]
#![feature(in_band_lifetimes)]
#![allow(unused_attributes)]

View File

@ -3,7 +3,6 @@
#![feature(box_patterns)]
#![feature(box_syntax)]
#![feature(core_intrinsics)]
#![feature(custom_attribute)]
#![feature(libc)]
#![feature(rustc_diagnostic_macros)]
#![feature(stmt_expr_attributes)]

View File

@ -8,7 +8,6 @@
#![feature(box_patterns)]
#![feature(box_syntax)]
#![feature(core_intrinsics)]
#![feature(custom_attribute)]
#![feature(never_type)]
#![feature(nll)]
#![allow(unused_attributes)]

View File

@ -1,6 +1,5 @@
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
#![feature(custom_attribute)]
#![allow(unused_attributes)]
#![cfg_attr(unix, feature(libc))]
#![feature(nll)]

View File

@ -1,5 +1,4 @@
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
#![feature(custom_attribute)]
#![feature(nll)]
#![deny(rust_2018_idioms)]
#![deny(internal)]

View File

@ -11,7 +11,6 @@
#![feature(const_fn)]
#![feature(crate_visibility_modifier)]
#![feature(custom_attribute)]
#![feature(nll)]
#![feature(non_exhaustive)]
#![feature(optin_builtin_traits)]

View File

@ -38,9 +38,6 @@
#![deny(rust_2018_idioms)]
#![cfg_attr(windows, feature(libc))]
// Handle rustfmt skips
#![feature(custom_attribute)]
#![allow(unused_attributes)]
use std::io::prelude::*;
use std::io::{self, Stdout, Stderr};

View File

@ -6,7 +6,7 @@
// pretty-expanded FIXME #23616
#![feature(custom_attribute, rustc_private)]
#![feature(rustc_private)]
extern crate check_static_recursion_foreign_helper;
extern crate libc;

View File

@ -1,5 +1,4 @@
// run-pass
#![feature(custom_attribute)]
macro_rules! compiles_fine {
(#[$at:meta]) => {

View File

@ -1,4 +1,2 @@
#![feature(custom_attribute)]
#[my_attr = !] //~ ERROR unexpected token: `!`
fn main() {}

View File

@ -1,5 +1,5 @@
error: unexpected token: `!`
--> $DIR/attr-eq-token-tree.rs:3:13
--> $DIR/attr-eq-token-tree.rs:1:13
|
LL | #[my_attr = !]
| ^

View File

@ -1,7 +1,5 @@
// Unresolved multi-segment attributes are not treated as custom.
#![feature(custom_attribute)]
mod existent {}
#[existent::nonexistent] //~ ERROR failed to resolve: could not find `nonexistent` in `existent`

View File

@ -1,5 +1,5 @@
error[E0433]: failed to resolve: could not find `nonexistent` in `existent`
--> $DIR/custom-attribute-multisegment.rs:7:13
--> $DIR/custom-attribute-multisegment.rs:5:13
|
LL | #[existent::nonexistent]
| ^^^^^^^^^^^ could not find `nonexistent` in `existent`

View File

@ -1,6 +1,6 @@
// skip-codegen
// compile-pass
#![feature(custom_attribute)]
macro_rules! mac {
{} => {
#[cfg(attr)]