-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-uiArea: Clippy interface, usage and configurationArea: Clippy interface, usage and configurationC-an-interesting-projectCategory: Interesting projects, that usually are more involved design/code wise.Category: Interesting projects, that usually are more involved design/code wise.C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messages
Description
Description
Rustc has this nice rustc --explain E060
feature.
I wonder if we could have the same in form of cargo clippy --explain needless_borrow
for example.
This would print the lints explanation of the doc-comment ( https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow ) into the terminal, the advantage being that we don't need a web browser and internet to access the lint explanation 🙂
smoelius, dswij, jubnzv, flip1995, xFrednet and 2 more
Metadata
Metadata
Assignees
Labels
A-uiArea: Clippy interface, usage and configurationArea: Clippy interface, usage and configurationC-an-interesting-projectCategory: Interesting projects, that usually are more involved design/code wise.Category: Interesting projects, that usually are more involved design/code wise.C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messages