about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/lib.rs
diff options
context:
space:
mode:
authorsurechen <chenshuo17@huawei.com>2024-03-19 00:05:18 +0800
committersurechen <chenshuo17@huawei.com>2024-03-19 20:13:40 +0800
commitdb48dfcd03ec039eb1741becf7f445a66af6761b (patch)
tree6d073247eee0bd66779999f64f3fb65ba11c671b /compiler/rustc_feature/src/lib.rs
parent3cdcdaf31b45f8045164aae9604573d23091970b (diff)
downloadrust-db48dfcd03ec039eb1741becf7f445a66af6761b.tar.gz
rust-db48dfcd03ec039eb1741becf7f445a66af6761b.zip
Change only_local to enum type and change the macros to always require a variant of that enum.
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 cbc0ce8c974..cb28bb4e8e4 100644
--- a/compiler/rustc_feature/src/lib.rs
+++ b/compiler/rustc_feature/src/lib.rs
@@ -124,7 +124,7 @@ pub fn find_feature_issue(feature: Symbol, issue: GateIssue) -> Option<NonZero<u
 pub use accepted::ACCEPTED_FEATURES;
 pub use builtin_attrs::AttributeDuplicates;
 pub use builtin_attrs::{
-    deprecated_attributes, find_gated_cfg, is_builtin_attr_name, is_builtin_only_local,
+    deprecated_attributes, encode_cross_crate, find_gated_cfg, is_builtin_attr_name,
     is_valid_for_get_attr, AttributeGate, AttributeTemplate, AttributeType, BuiltinAttribute,
     GatedCfg, BUILTIN_ATTRIBUTES, BUILTIN_ATTRIBUTE_MAP,
 };