diff options
| author | lcnr <rust@lcnr.de> | 2022-04-01 15:04:47 +0200 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2022-05-10 08:09:37 +0200 |
| commit | 74b6d296dbcdece2b7bf8cf10370c17c0ed564e7 (patch) | |
| tree | 137e56933ba5a4c082f2d1e754d0af71291500b3 /compiler/rustc_feature/src/lib.rs | |
| parent | 87fd70c107b23fe08336a12a20a0f5e85561d499 (diff) | |
| download | rust-74b6d296dbcdece2b7bf8cf10370c17c0ed564e7.tar.gz rust-74b6d296dbcdece2b7bf8cf10370c17c0ed564e7.zip | |
don't encode only locally used attrs
Diffstat (limited to 'compiler/rustc_feature/src/lib.rs')
| -rw-r--r-- | compiler/rustc_feature/src/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/rustc_feature/src/lib.rs b/compiler/rustc_feature/src/lib.rs index 940c4ecdcc2..26e0538b0eb 100644 --- a/compiler/rustc_feature/src/lib.rs +++ b/compiler/rustc_feature/src/lib.rs @@ -149,7 +149,8 @@ pub use accepted::ACCEPTED_FEATURES; 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, AttributeGate, AttributeTemplate, - AttributeType, BuiltinAttribute, GatedCfg, BUILTIN_ATTRIBUTES, BUILTIN_ATTRIBUTE_MAP, + deprecated_attributes, find_gated_cfg, is_builtin_attr_name, is_builtin_only_local, + AttributeGate, AttributeTemplate, AttributeType, BuiltinAttribute, GatedCfg, + BUILTIN_ATTRIBUTES, BUILTIN_ATTRIBUTE_MAP, }; pub use removed::{REMOVED_FEATURES, STABLE_REMOVED_FEATURES}; |
