Skip to content

Commit fc24fce

Browse files
committed
Auto merge of #3576 - matthiaskrgr:rustup, r=oli-obk
rustup #56992
2 parents 52820e5 + 6db409f commit fc24fce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clippy_lints/src/attrs.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,9 @@ fn check_clippy_lint_names(cx: &LateContext<'_, '_>, items: &[NestedMetaItem]) {
337337
&name_lower,
338338
Some(tool_name.as_str())
339339
) {
340-
CheckLintNameResult::NoLint => (),
340+
// FIXME: can we suggest similar lint names here?
341+
// https://github.com/rust-lang/rust/pull/56992
342+
CheckLintNameResult::NoLint(None) => (),
341343
_ => {
342344
db.span_suggestion(lint.span,
343345
"lowercase the lint name",

0 commit comments

Comments
 (0)