fix ICE in attribute name printing

This commit is contained in:
Folkert de Vries
2025-04-23 11:03:12 +02:00
parent 645d0ad2a4
commit a4630f7a86
4 changed files with 33 additions and 3 deletions

View File

@@ -1249,7 +1249,7 @@ pub(crate) struct NakedFunctionIncompatibleAttribute {
pub span: Span,
#[label(passes_naked_attribute)]
pub naked_span: Span,
pub attr: Symbol,
pub attr: String,
}
#[derive(Diagnostic)]