@@ -7,19 +7,19 @@ LL | #![cfg_attr(foo, warn(test_lint))]
7
7
= note: `#[warn(renamed_and_removed_lints)]` on by default
8
8
9
9
warning: lint name `clippy_group` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore
10
- --> $DIR/lint-tool-test.rs:12 :9
10
+ --> $DIR/lint-tool-test.rs:13 :9
11
11
|
12
12
LL | #![deny(clippy_group)]
13
13
| ^^^^^^^^^^^^ help: change it to: `clippy::group`
14
14
15
15
warning: lint name `test_group` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore
16
- --> $DIR/lint-tool-test.rs:26 :9
16
+ --> $DIR/lint-tool-test.rs:29 :9
17
17
|
18
18
LL | #[allow(test_group)]
19
19
| ^^^^^^^^^^ help: change it to: `clippy::test_group`
20
20
21
21
warning: unknown lint: `this_lint_does_not_exist`
22
- --> $DIR/lint-tool-test.rs:28 :8
22
+ --> $DIR/lint-tool-test.rs:33 :8
23
23
|
24
24
LL | #[deny(this_lint_does_not_exist)]
25
25
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -32,6 +32,18 @@ warning: lint name `test_lint` is deprecated and may not have an effect in the f
32
32
LL | #![cfg_attr(foo, warn(test_lint))]
33
33
| ^^^^^^^^^ help: change it to: `clippy::test_lint`
34
34
35
+ warning: lint name `clippy_group` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore
36
+ --> $DIR/lint-tool-test.rs:13:9
37
+ |
38
+ LL | #![deny(clippy_group)]
39
+ | ^^^^^^^^^^^^ help: change it to: `clippy::group`
40
+
41
+ warning: lint name `test_group` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore
42
+ --> $DIR/lint-tool-test.rs:29:9
43
+ |
44
+ LL | #[allow(test_group)]
45
+ | ^^^^^^^^^^ help: change it to: `clippy::test_group`
46
+
35
47
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
36
48
--> $DIR/lint-tool-test.rs:6:1
37
49
|
@@ -40,31 +52,49 @@ LL | #![plugin(lint_tool_test)]
40
52
|
41
53
= note: `#[warn(deprecated)]` on by default
42
54
55
+ warning: lint name `test_lint` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore
56
+ --> $DIR/lint-tool-test.rs:9:23
57
+ |
58
+ LL | #![cfg_attr(foo, warn(test_lint))]
59
+ | ^^^^^^^^^ help: change it to: `clippy::test_lint`
60
+
61
+ warning: lint name `clippy_group` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore
62
+ --> $DIR/lint-tool-test.rs:13:9
63
+ |
64
+ LL | #![deny(clippy_group)]
65
+ | ^^^^^^^^^^^^ help: change it to: `clippy::group`
66
+
43
67
error: item is named 'lintme'
44
- --> $DIR/lint-tool-test.rs:15 :1
68
+ --> $DIR/lint-tool-test.rs:18 :1
45
69
|
46
70
LL | fn lintme() { }
47
71
| ^^^^^^^^^^^^^^^
48
72
|
49
73
note: lint level defined here
50
- --> $DIR/lint-tool-test.rs:12 :9
74
+ --> $DIR/lint-tool-test.rs:13 :9
51
75
|
52
76
LL | #![deny(clippy_group)]
53
77
| ^^^^^^^^^^^^
54
78
= note: `#[deny(clippy::test_lint)]` implied by `#[deny(clippy::group)]`
55
79
56
80
error: item is named 'lintmetoo'
57
- --> $DIR/lint-tool-test.rs:23 :5
81
+ --> $DIR/lint-tool-test.rs:26 :5
58
82
|
59
83
LL | fn lintmetoo() { }
60
84
| ^^^^^^^^^^^^^^^^^^
61
85
|
62
86
note: lint level defined here
63
- --> $DIR/lint-tool-test.rs:12 :9
87
+ --> $DIR/lint-tool-test.rs:13 :9
64
88
|
65
89
LL | #![deny(clippy_group)]
66
90
| ^^^^^^^^^^^^
67
91
= note: `#[deny(clippy::test_group)]` implied by `#[deny(clippy::group)]`
68
92
93
+ warning: lint name `test_group` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore
94
+ --> $DIR/lint-tool-test.rs:29:9
95
+ |
96
+ LL | #[allow(test_group)]
97
+ | ^^^^^^^^^^ help: change it to: `clippy::test_group`
98
+
69
99
error: aborting due to 2 previous errors
70
100
0 commit comments