We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7da97a9 commit fb830c5Copy full SHA for fb830c5
clippy_dev/src/lib.rs
@@ -36,6 +36,7 @@ lazy_static! {
36
pub static ref DOCS_LINK: String = "https://rust-lang-nursery.github.io/rust-clippy/master/index.html".to_string();
37
}
38
39
+/// Lint data parsed from the Clippy source code.
40
#[derive(Clone, PartialEq, Debug)]
41
pub struct Lint {
42
pub name: String,
@@ -67,6 +68,7 @@ impl Lint {
67
68
69
70
71
+/// Gathers all files in `src/clippy_lints` and gathers all lints inside
72
pub fn gather_all() -> impl Iterator<Item=Lint> {
73
lint_files().flat_map(|f| gather_from_file(&f))
74
0 commit comments