check rust lints when an unknown lint is detected
This commit is contained in:
parent
e927184629
commit
ca421fe1d3
8 changed files with 85 additions and 19 deletions
|
@ -1050,9 +1050,10 @@ pub enum UnknownLintSuggestion {
|
|||
#[primary_span]
|
||||
suggestion: Span,
|
||||
replace: Symbol,
|
||||
from_rustc: bool,
|
||||
},
|
||||
#[help(lint_help)]
|
||||
WithoutSpan { replace: Symbol },
|
||||
WithoutSpan { replace: Symbol, from_rustc: bool },
|
||||
}
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue