Remove unused #![feature(custom_attribute)]
s
This commit is contained in:
parent
5c6f6b810c
commit
8049e6199b
15 changed files with 4 additions and 19 deletions
|
@ -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)]
|
||||
|
|
|
@ -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)]
|
||||
|
|
|
@ -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)]
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#![feature(box_patterns)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(custom_attribute)]
|
||||
#![feature(never_type)]
|
||||
#![feature(nll)]
|
||||
#![allow(unused_attributes)]
|
||||
|
|
|
@ -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)]
|
||||
|
|
|
@ -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)]
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#![feature(const_fn)]
|
||||
#![feature(crate_visibility_modifier)]
|
||||
#![feature(custom_attribute)]
|
||||
#![feature(nll)]
|
||||
#![feature(non_exhaustive)]
|
||||
#![feature(optin_builtin_traits)]
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// run-pass
|
||||
#![feature(custom_attribute)]
|
||||
|
||||
macro_rules! compiles_fine {
|
||||
(#[$at:meta]) => {
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
#![feature(custom_attribute)]
|
||||
|
||||
#[my_attr = !] //~ ERROR unexpected token: `!`
|
||||
fn main() {}
|
||||
|
|
|
@ -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 = !]
|
||||
| ^
|
||||
|
|
|
@ -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`
|
||||
|
|
|
@ -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`
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// skip-codegen
|
||||
// compile-pass
|
||||
#![feature(custom_attribute)]
|
||||
|
||||
macro_rules! mac {
|
||||
{} => {
|
||||
#[cfg(attr)]
|
||||
|
|
Loading…
Add table
Reference in a new issue