about summary refs log tree commit diff
path: root/src/libsyntax/feature_gate/check.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-11-30 00:23:38 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-11-30 00:25:40 +0100
commit3d080a4a77274abd747f780b446e6fedce14fac7 (patch)
treedf823c82dfaebcc574099330709277b5830ccd9d /src/libsyntax/feature_gate/check.rs
parentc4375c9dfdd7f31de909f6e9384bac1bf37b44da (diff)
introduce crate rustc_feature and move active, accepted, and removed to it
Diffstat (limited to 'src/libsyntax/feature_gate/check.rs')
-rw-r--r--src/libsyntax/feature_gate/check.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libsyntax/feature_gate/check.rs b/src/libsyntax/feature_gate/check.rs
index ec0eaa56812..7d959756f23 100644
--- a/src/libsyntax/feature_gate/check.rs
+++ b/src/libsyntax/feature_gate/check.rs
@@ -1,6 +1,5 @@
-use super::{active::{ACTIVE_FEATURES, Features}, Feature, State as FeatureState};
-use super::accepted::ACCEPTED_FEATURES;
-use super::removed::{REMOVED_FEATURES, STABLE_REMOVED_FEATURES};
+use rustc_feature::{ACCEPTED_FEATURES, ACTIVE_FEATURES, Features, Feature, State as FeatureState};
+use rustc_feature::{REMOVED_FEATURES, STABLE_REMOVED_FEATURES};
 use super::builtin_attrs::{AttributeGate, BUILTIN_ATTRIBUTE_MAP};
 
 use crate::ast::{self, AssocTyConstraint, AssocTyConstraintKind, NodeId};