Rename LintContext::lookup_with_diagnostics
as LintContext::span_lint_with_diagnostics
.
This commit is contained in:
parent
2de5242ea6
commit
c915e90f7e
3 changed files with 9 additions and 3 deletions
|
@ -2849,7 +2849,7 @@ impl<'tcx> LateLintPass<'tcx> for NamedAsmLabels {
|
|||
let target_spans: MultiSpan =
|
||||
if spans.len() > 0 { spans.into() } else { (*template_span).into() };
|
||||
|
||||
cx.lookup_with_diagnostics(
|
||||
cx.span_lint_with_diagnostics(
|
||||
NAMED_ASM_LABELS,
|
||||
Some(target_spans),
|
||||
fluent::lint_builtin_asm_labels,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue