about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/lib.rs
diff options
context:
space:
mode:
authorcarbotaniuman <41451839+carbotaniuman@users.noreply.github.com>2024-06-08 18:39:09 -0500
committercarbotaniuman <41451839+carbotaniuman@users.noreply.github.com>2024-06-23 19:02:14 -0500
commita23917cfd07b309f32603c6acb81b63aad8504e7 (patch)
tree7ead8d9df7c78555088b9e034441f202ab30d94e /compiler/rustc_feature/src/lib.rs
parent33422e72c8a66bdb5ee21246a948a1a02ca91674 (diff)
downloadrust-a23917cfd07b309f32603c6acb81b63aad8504e7.tar.gz
rust-a23917cfd07b309f32603c6acb81b63aad8504e7.zip
Add hard error and migration lint for unsafe attrs
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 fb3b7c0a127..bf429364318 100644
--- a/compiler/rustc_feature/src/lib.rs
+++ b/compiler/rustc_feature/src/lib.rs
@@ -125,7 +125,7 @@ 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_unsafe_attr, is_valid_for_get_attr, AttributeGate, AttributeTemplate, AttributeType,
+    is_valid_for_get_attr, AttributeGate, AttributeSafety, AttributeTemplate, AttributeType,
     BuiltinAttribute, GatedCfg, BUILTIN_ATTRIBUTES, BUILTIN_ATTRIBUTE_MAP,
 };
 pub use removed::REMOVED_FEATURES;