1
Fork 0

Convert NAMED_ASM_LABELS lint to diag struct

This commit is contained in:
Xiretza 2024-04-16 16:23:47 +00:00
parent 36902fbcf6
commit bac6b6248b
5 changed files with 14 additions and 20 deletions

View file

@ -1947,3 +1947,9 @@ pub struct UnitBindingsDiag {
#[label]
pub label: Span,
}
#[derive(LintDiagnostic)]
#[diag(lint_builtin_asm_labels)]
#[help]
#[note]
pub struct BuiltinNamedAsmLabel;