diff options
| author | Smitty <me@smitop.com> | 2021-06-28 14:39:20 -0400 |
|---|---|---|
| committer | Smitty <me@smitop.com> | 2021-06-28 14:39:20 -0400 |
| commit | 11ebd80fe75ec02dbdd8058b8952d25eccb0c3dc (patch) | |
| tree | 90c1545aedcc496d58758a57c49076d78f775414 /compiler/rustc_feature/src/lib.rs | |
| parent | 1abb5bc992f0ab95ec507aa4b4feed12ec5a4450 (diff) | |
| download | rust-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.rs | 2 |
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, |
