Rename LintContext::struct_span_lint
as LintContext::span_lint
.
This commit is contained in:
parent
d5fd099729
commit
c56d71f418
8 changed files with 12 additions and 13 deletions
|
@ -580,7 +580,7 @@ pub trait LintContext {
|
|||
///
|
||||
/// [`struct_lint_level`]: rustc_middle::lint::struct_lint_level#decorate-signature
|
||||
#[rustc_lint_diagnostics]
|
||||
fn struct_span_lint<S: Into<MultiSpan>>(
|
||||
fn span_lint<S: Into<MultiSpan>>(
|
||||
&self,
|
||||
lint: &'static Lint,
|
||||
span: S,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue