You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C-bugCategory: Clippy is not doing the correct thingE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.
$ cargo clippy -- -Dclippy:pedantic Checking testing v0.0.0 (/media/david/coding/git/testing)error[E0602]: unknown lint: `clippy:pedantic` | = help: did you mean: `clippy::panic` = note: requested on the command line with `-D clippy:pedantic`
It seems "obvious" that clippy should be suggesting clippy::pedantic here, rather than clippy::panic. It seems to me it would be worth adding a heuristic targeted to the accidental single colon case, especially if the remaining part of the name after the colon is a real lint or lint group name.
Sorry if this is really rustc generating the correction not clippy, in which case this may be filed in the wrong place.
C-bugCategory: Clippy is not doing the correct thingE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.
It seems "obvious" that clippy should be suggesting
clippy::pedantic
here, rather thanclippy::panic
. It seems to me it would be worth adding a heuristic targeted to the accidental single colon case, especially if the remaining part of the name after the colon is a real lint or lint group name.Sorry if this is really rustc generating the correction not clippy, in which case this may be filed in the wrong place.
cargo clippy -V
: clippy 0.1.53 (5e65467 2021-03-26)rustc -Vv
:The text was updated successfully, but these errors were encountered: