mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-07 20:58:39 +00:00
Auto merge of #3576 - matthiaskrgr:rustup, r=oli-obk
rustup https://github.com/rust-lang/rust/pull/56992
This commit is contained in:
commit
fc24fce73f
@ -337,7 +337,9 @@ fn check_clippy_lint_names(cx: &LateContext<'_, '_>, items: &[NestedMetaItem]) {
|
|||||||
&name_lower,
|
&name_lower,
|
||||||
Some(tool_name.as_str())
|
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,
|
db.span_suggestion(lint.span,
|
||||||
"lowercase the lint name",
|
"lowercase the lint name",
|
||||||
|
Loading…
Reference in New Issue
Block a user