Rename LintContext::emit_spanned_lint
as LintContext::emit_span_lint
.
This commit is contained in:
parent
c915e90f7e
commit
1881bfaa2b
27 changed files with 112 additions and 128 deletions
|
@ -145,7 +145,7 @@ impl<'tcx> LateLintPass<'tcx> for OpaqueHiddenInferredBound {
|
|||
}),
|
||||
_ => None,
|
||||
};
|
||||
cx.emit_spanned_lint(
|
||||
cx.emit_span_lint(
|
||||
OPAQUE_HIDDEN_INFERRED_BOUND,
|
||||
pred_span,
|
||||
OpaqueHiddenInferredBoundLint {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue