diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-30 00:23:38 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-30 00:25:40 +0100 |
| commit | 3d080a4a77274abd747f780b446e6fedce14fac7 (patch) | |
| tree | df823c82dfaebcc574099330709277b5830ccd9d /src/libsyntax/attr | |
| parent | c4375c9dfdd7f31de909f6e9384bac1bf37b44da (diff) | |
| download | rust-3d080a4a77274abd747f780b446e6fedce14fac7.tar.gz rust-3d080a4a77274abd747f780b446e6fedce14fac7.zip | |
introduce crate rustc_feature and move active, accepted, and removed to it
Diffstat (limited to 'src/libsyntax/attr')
| -rw-r--r-- | src/libsyntax/attr/builtin.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/attr/builtin.rs b/src/libsyntax/attr/builtin.rs index c10541c8c7e..eaa4a64025a 100644 --- a/src/libsyntax/attr/builtin.rs +++ b/src/libsyntax/attr/builtin.rs @@ -1,14 +1,15 @@ //! Parsing and validation of builtin attributes use crate::ast::{self, Attribute, MetaItem, NestedMetaItem}; -use crate::feature_gate::{Features, GatedCfg}; use crate::print::pprust; +use crate::feature_gate::GatedCfg; use crate::sess::ParseSess; use errors::{Applicability, Handler}; use std::num::NonZeroU32; use syntax_pos::hygiene::Transparency; use syntax_pos::{symbol::Symbol, symbol::sym, Span}; +use rustc_feature::Features; use rustc_macros::HashStable_Generic; use super::{mark_used, MetaItemKind}; |
