diff options
| author | bors <bors@rust-lang.org> | 2018-12-23 12:30:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-12-23 12:30:43 +0000 |
| commit | fc24fce73f878e641094b1802df1e748c5fe233a (patch) | |
| tree | 7695bb57496494691e48f304598febf6e6705a1c | |
| parent | 52820e588f218184c62ccc51ed60240f75365d09 (diff) | |
| parent | 6db409fc0c34e8acbb47d24bdb39d701acf759f6 (diff) | |
| download | rust-fc24fce73f878e641094b1802df1e748c5fe233a.tar.gz rust-fc24fce73f878e641094b1802df1e748c5fe233a.zip | |
Auto merge of #3576 - matthiaskrgr:rustup, r=oli-obk
rustup https://github.com/rust-lang/rust/pull/56992
| -rw-r--r-- | clippy_lints/src/attrs.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clippy_lints/src/attrs.rs b/clippy_lints/src/attrs.rs index a8b03d21482..7310e35116f 100644 --- a/clippy_lints/src/attrs.rs +++ b/clippy_lints/src/attrs.rs @@ -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", |
