Port #[allow_internal_unsafe] to the new attribute system (attempt 2)
This commit is contained in:
@@ -643,8 +643,8 @@ pub(crate) struct UsedStatic {
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(passes_allow_internal_unstable)]
|
||||
pub(crate) struct AllowInternalUnstable {
|
||||
#[diag(passes_macro_only_attribute)]
|
||||
pub(crate) struct MacroOnlyAttribute {
|
||||
#[primary_span]
|
||||
pub attr_span: Span,
|
||||
#[label]
|
||||
|
||||
Reference in New Issue
Block a user