diff options
| author | surechen <chenshuo17@huawei.com> | 2024-03-19 00:05:18 +0800 |
|---|---|---|
| committer | surechen <chenshuo17@huawei.com> | 2024-03-19 20:13:40 +0800 |
| commit | db48dfcd03ec039eb1741becf7f445a66af6761b (patch) | |
| tree | 6d073247eee0bd66779999f64f3fb65ba11c671b /compiler/rustc_feature/src/lib.rs | |
| parent | 3cdcdaf31b45f8045164aae9604573d23091970b (diff) | |
| download | rust-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.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 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, }; |
