Revert "Port #[allow_internal_unsafe] to the new attribute system"

This reverts commit 4f7a6ace9e.
This commit is contained in:
Jana Dönszelmann
2025-08-08 11:54:15 +02:00
parent 2886b36df4
commit 866bc26475
10 changed files with 23 additions and 82 deletions

View File

@@ -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]