about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/errors.rs
diff options
context:
space:
mode:
authorJana Dönszelmann <jana@donsz.nl>2025-08-08 11:54:15 +0200
committerJana Dönszelmann <jana@donsz.nl>2025-08-08 11:54:20 +0200
commit866bc26475277c31f0fc5409ac061951ae48b827 (patch)
tree6edeae7a93a2eceb99f5e4a258d6241efb9aa918 /compiler/rustc_passes/src/errors.rs
parent2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a (diff)
downloadrust-866bc26475277c31f0fc5409ac061951ae48b827.tar.gz
rust-866bc26475277c31f0fc5409ac061951ae48b827.zip
Revert "Port `#[allow_internal_unsafe]` to the new attribute system"
This reverts commit 4f7a6ace9e2f2192af7b5d32f4b1664189e0e143.
Diffstat (limited to 'compiler/rustc_passes/src/errors.rs')
-rw-r--r--compiler/rustc_passes/src/errors.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_passes/src/errors.rs b/compiler/rustc_passes/src/errors.rs
index 10b30fbe8c9..c6ab6b0d601 100644
--- a/compiler/rustc_passes/src/errors.rs
+++ b/compiler/rustc_passes/src/errors.rs
@@ -643,8 +643,8 @@ pub(crate) struct UsedStatic {
 }
 
 #[derive(Diagnostic)]
-#[diag(passes_macro_only_attribute)]
-pub(crate) struct MacroOnlyAttribute {
+#[diag(passes_allow_internal_unstable)]
+pub(crate) struct AllowInternalUnstable {
     #[primary_span]
     pub attr_span: Span,
     #[label]