Convert NAMED_ASM_LABELS lint to diag struct
This commit is contained in:
parent
36902fbcf6
commit
bac6b6248b
5 changed files with 14 additions and 20 deletions
|
@ -1947,3 +1947,9 @@ pub struct UnitBindingsDiag {
|
|||
#[label]
|
||||
pub label: Span,
|
||||
}
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_builtin_asm_labels)]
|
||||
#[help]
|
||||
#[note]
|
||||
pub struct BuiltinNamedAsmLabel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue