-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
A-documentationArea: Adding or improving documentationArea: Adding or improving documentationA-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.
Description
Clippy has an --explain
command to display the lint documentation in the console. Ideally, we'd like to expand the command to include the configurations, which effect the lint emission. This is already done for Clippy's lint list.
Here is an example for such a lint: borrow_as_ptr
This implementation could take inspiration from how we collect the metadata for our lint list:
fn get_lint_configs(&self, lint_name: &str) -> Option<String> { |
CC: #9880
Metadata
Metadata
Assignees
Labels
A-documentationArea: Adding or improving documentationArea: Adding or improving documentationA-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.