Don't pass lint back out of lint decorator
This commit is contained in:
parent
4d1bd0db7f
commit
7f565ed282
38 changed files with 50 additions and 116 deletions
|
@ -2800,7 +2800,7 @@ impl<'tcx> LateLintPass<'tcx> for NamedAsmLabels {
|
|||
NAMED_ASM_LABELS,
|
||||
Some(target_spans),
|
||||
fluent::lint_builtin_asm_labels,
|
||||
|lint| lint,
|
||||
|_| {},
|
||||
BuiltinLintDiagnostics::NamedAsmLabel(
|
||||
"only local labels of the form `<number>:` should be used in inline asm"
|
||||
.to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue