mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 08:30:45 +00:00
This commit is contained in:
parent
52820e588f
commit
ce3e69da1c
1 changed files with 3 additions and 1 deletions
|
@ -337,7 +337,9 @@ fn check_clippy_lint_names(cx: &LateContext<'_, '_>, items: &[NestedMetaItem]) {
|
|||
&name_lower,
|
||||
Some(tool_name.as_str())
|
||||
) {
|
||||
CheckLintNameResult::NoLint => (),
|
||||
// @TODO: can we suggest similar lint names here?
|
||||
// https://github.com/rust-lang/rust/pull/56992
|
||||
CheckLintNameResult::NoLint(None) => (),
|
||||
_ => {
|
||||
db.span_suggestion(lint.span,
|
||||
"lowercase the lint name",
|
||||
|
|
Loading…
Reference in a new issue