about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/lib.rs
diff options
context:
space:
mode:
authorSmitty <me@smitop.com>2021-06-28 14:39:20 -0400
committerSmitty <me@smitop.com>2021-06-28 14:39:20 -0400
commit11ebd80fe75ec02dbdd8058b8952d25eccb0c3dc (patch)
tree90c1545aedcc496d58758a57c49076d78f775414 /compiler/rustc_feature/src/lib.rs
parent1abb5bc992f0ab95ec507aa4b4feed12ec5a4450 (diff)
downloadrust-11ebd80fe75ec02dbdd8058b8952d25eccb0c3dc.tar.gz
rust-11ebd80fe75ec02dbdd8058b8952d25eccb0c3dc.zip
Make incomplete features part of delcaration
This prevents mistakes where the feature is in the list of incomplete
features but not actually a feature by making the incompleteness a part
of the declaration.
Diffstat (limited to 'compiler/rustc_feature/src/lib.rs')
-rw-r--r--compiler/rustc_feature/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/lib.rs b/compiler/rustc_feature/src/lib.rs
index 654d2408580..cf102aa16e0 100644
--- a/compiler/rustc_feature/src/lib.rs
+++ b/compiler/rustc_feature/src/lib.rs
@@ -146,7 +146,7 @@ pub fn find_feature_issue(feature: Symbol, issue: GateIssue) -> Option<NonZeroU3
 }
 
 pub use accepted::ACCEPTED_FEATURES;
-pub use active::{Features, ACTIVE_FEATURES, INCOMPATIBLE_FEATURES, INCOMPLETE_FEATURES};
+pub use active::{Features, ACTIVE_FEATURES, INCOMPATIBLE_FEATURES};
 pub use builtin_attrs::{
     deprecated_attributes, find_gated_cfg, is_builtin_attr_name, AttributeGate, AttributeTemplate,
     AttributeType, BuiltinAttribute, GatedCfg, BUILTIN_ATTRIBUTES, BUILTIN_ATTRIBUTE_MAP,