Skip to content

Commit

Permalink
Auto merge of rust-lang#3576 - matthiaskrgr:rustup, r=oli-obk
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Dec 23, 2018
2 parents 52820e5 + 6db409f commit fc24fce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clippy_lints/src/attrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,9 @@ fn check_clippy_lint_names(cx: &LateContext<'_, '_>, items: &[NestedMetaItem]) {
&name_lower,
Some(tool_name.as_str())
) {
CheckLintNameResult::NoLint => (),
// FIXME: 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",
Expand Down

0 comments on commit fc24fce

Please sign in to comment.