diff options
| author | carbotaniuman <41451839+carbotaniuman@users.noreply.github.com> | 2024-05-15 18:52:08 -0500 |
|---|---|---|
| committer | carbotaniuman <41451839+carbotaniuman@users.noreply.github.com> | 2024-06-06 20:26:28 -0500 |
| commit | 230b58febf78bb1680b4960d32350a7430a8aab5 (patch) | |
| tree | 166d5480509f2d73ef11e8be99ec0b7f1aeee73e /compiler/rustc_feature/src/lib.rs | |
| parent | 48851d9adbd358a678e8ef8102d131aaa42884fc (diff) | |
| download | rust-230b58febf78bb1680b4960d32350a7430a8aab5.tar.gz rust-230b58febf78bb1680b4960d32350a7430a8aab5.zip | |
Error on unsafe on non-unsafe attribute
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 9cbf836ec76..9db9073e2f0 100644 --- a/compiler/rustc_feature/src/lib.rs +++ b/compiler/rustc_feature/src/lib.rs @@ -123,8 +123,8 @@ pub use accepted::ACCEPTED_FEATURES; pub use builtin_attrs::AttributeDuplicates; pub use builtin_attrs::{ 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, + is_unsafe_attr, is_valid_for_get_attr, AttributeGate, AttributeTemplate, AttributeType, + BuiltinAttribute, GatedCfg, BUILTIN_ATTRIBUTES, BUILTIN_ATTRIBUTE_MAP, }; pub use removed::REMOVED_FEATURES; pub use unstable::{Features, INCOMPATIBLE_FEATURES, UNSTABLE_FEATURES}; |
