diff options
| author | yukang <moorekang@gmail.com> | 2022-09-06 14:16:54 +0800 |
|---|---|---|
| committer | yukang <moorekang@gmail.com> | 2022-09-06 14:16:54 +0800 |
| commit | 00b10a5552c575e884a40de808a3cb64a647a442 (patch) | |
| tree | d8c2f809353954988709497671ef8c5931f103e9 /compiler/rustc_feature/src/lib.rs | |
| parent | 676afc514944aa618977bacf8fe28cefc443a13a (diff) | |
| download | rust-00b10a5552c575e884a40de808a3cb64a647a442.tar.gz rust-00b10a5552c575e884a40de808a3cb64a647a442.zip | |
get_attr should check that no duplicates are allowed
Diffstat (limited to 'compiler/rustc_feature/src/lib.rs')
| -rw-r--r-- | compiler/rustc_feature/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_feature/src/lib.rs b/compiler/rustc_feature/src/lib.rs index e44c9291f84..bdaa0ee88eb 100644 --- a/compiler/rustc_feature/src/lib.rs +++ b/compiler/rustc_feature/src/lib.rs @@ -151,7 +151,7 @@ pub use active::{Features, ACTIVE_FEATURES, INCOMPATIBLE_FEATURES}; pub use builtin_attrs::AttributeDuplicates; pub use builtin_attrs::{ deprecated_attributes, find_gated_cfg, is_builtin_attr_name, is_builtin_only_local, - AttributeGate, AttributeTemplate, AttributeType, BuiltinAttribute, GatedCfg, - BUILTIN_ATTRIBUTES, BUILTIN_ATTRIBUTE_MAP, + is_valid_for_get_attr, AttributeGate, AttributeTemplate, AttributeType, BuiltinAttribute, + GatedCfg, BUILTIN_ATTRIBUTES, BUILTIN_ATTRIBUTE_MAP, }; pub use removed::{REMOVED_FEATURES, STABLE_REMOVED_FEATURES}; |
