|
1 |
| -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 |
2 |
| - --> $DIR/lint_tool_test.rs:17:9 |
| 1 | +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 |
| 2 | + --> $DIR/lint_tool_test.rs:18:23 |
3 | 3 | |
|
4 |
| -LL | #![deny(clippy_group)] |
5 |
| - | ^^^^^^^^^^^^ help: change it to: `clippy::group` |
| 4 | +LL | #![cfg_attr(foo, warn(test_lint))] |
| 5 | + | ^^^^^^^^^ help: change it to: `clippy::test_lint` |
6 | 6 | |
|
7 | 7 | = note: #[warn(renamed_and_removed_lints)] on by default
|
8 | 8 |
|
9 |
| -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 |
10 |
| - --> $DIR/lint_tool_test.rs:32: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:21:9 |
| 11 | + | |
| 12 | +LL | #![deny(clippy_group)] |
| 13 | + | ^^^^^^^^^^^^ help: change it to: `clippy::group` |
| 14 | + |
| 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:35:9 |
11 | 17 | |
|
12 | 18 | LL | #[allow(test_group)]
|
13 | 19 | | ^^^^^^^^^^ help: change it to: `clippy::test_group`
|
14 | 20 |
|
15 | 21 | warning: unknown lint: `this_lint_does_not_exist`
|
16 |
| - --> $DIR/lint_tool_test.rs:34:8 |
| 22 | + --> $DIR/lint_tool_test.rs:37:8 |
17 | 23 | |
|
18 | 24 | LL | #[deny(this_lint_does_not_exist)] //~ WARNING unknown lint: `this_lint_does_not_exist`
|
19 | 25 | | ^^^^^^^^^^^^^^^^^^^^^^^^
|
20 | 26 | |
|
21 | 27 | = note: #[warn(unknown_lints)] on by default
|
22 | 28 |
|
23 |
| -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 |
24 |
| - --> $DIR/lint_tool_test.rs:17:9 |
| 29 | +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 |
| 30 | + --> $DIR/lint_tool_test.rs:18:23 |
25 | 31 | |
|
26 |
| -LL | #![deny(clippy_group)] |
27 |
| - | ^^^^^^^^^^^^ help: change it to: `clippy::group` |
| 32 | +LL | #![cfg_attr(foo, warn(test_lint))] |
| 33 | + | ^^^^^^^^^ help: change it to: `clippy::test_lint` |
28 | 34 |
|
29 | 35 | error: item is named 'lintme'
|
30 |
| - --> $DIR/lint_tool_test.rs:21:1 |
| 36 | + --> $DIR/lint_tool_test.rs:24:1 |
31 | 37 | |
|
32 | 38 | LL | fn lintme() { } //~ ERROR item is named 'lintme'
|
33 | 39 | | ^^^^^^^^^^^^^^^
|
34 | 40 | |
|
35 | 41 | note: lint level defined here
|
36 |
| - --> $DIR/lint_tool_test.rs:17:9 |
| 42 | + --> $DIR/lint_tool_test.rs:21:9 |
37 | 43 | |
|
38 | 44 | LL | #![deny(clippy_group)]
|
39 | 45 | | ^^^^^^^^^^^^
|
40 | 46 | = note: #[deny(clippy::test_lint)] implied by #[deny(clippy::group)]
|
41 | 47 |
|
42 | 48 | error: item is named 'lintmetoo'
|
43 |
| - --> $DIR/lint_tool_test.rs:29:5 |
| 49 | + --> $DIR/lint_tool_test.rs:32:5 |
44 | 50 | |
|
45 | 51 | LL | fn lintmetoo() { } //~ ERROR item is named 'lintmetoo'
|
46 | 52 | | ^^^^^^^^^^^^^^^^^^
|
47 | 53 | |
|
48 | 54 | note: lint level defined here
|
49 |
| - --> $DIR/lint_tool_test.rs:17:9 |
| 55 | + --> $DIR/lint_tool_test.rs:21:9 |
50 | 56 | |
|
51 | 57 | LL | #![deny(clippy_group)]
|
52 | 58 | | ^^^^^^^^^^^^
|
|
0 commit comments