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 f6d5786 commit 8d516b3Copy full SHA for 8d516b3
tests/ui/unknown_clippy_lints.rs
@@ -0,0 +1,8 @@
1
+
2
+#![allow(clippy::All)]
3
+#![warn(clippy::pedantic)]
4
5
+#[warn(clippy::if_not_els)]
6
+fn main() {
7
8
+}
tests/ui/unknown_clippy_lints.stderr
@@ -0,0 +1,16 @@
+error: unknwon clippy lint: clippy::if_not_els
+ --> $DIR/unknown_clippy_lints.rs:5:8
+ |
+5 | #[warn(clippy::if_not_els)]
+ | ^^^^^^^^^^^^^^^^^^
+ = note: `-D clippy::unknown-clippy-lints` implied by `-D warnings`
9
+error: unknwon clippy lint: clippy::All
10
+ --> $DIR/unknown_clippy_lints.rs:2:10
11
12
+2 | #![allow(clippy::All)]
13
+ | ^^^^^^^^^^^ help: lowercase the lint name: `all`
14
15
+error: aborting due to 2 previous errors
16
0 commit comments