|
1 | 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:8:23 |
| 2 | + --> $DIR/lint-tool-test.rs:9:23 |
3 | 3 | |
|
4 | 4 | LL | #![cfg_attr(foo, warn(test_lint))]
|
5 | 5 | | ^^^^^^^^^ help: change it to: `clippy::test_lint`
|
6 | 6 | |
|
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:11:9 |
| 10 | + --> $DIR/lint-tool-test.rs:12: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:25:9 |
| 16 | + --> $DIR/lint-tool-test.rs:26: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:27:8 |
| 22 | + --> $DIR/lint-tool-test.rs:28:8 |
23 | 23 | |
|
24 | 24 | LL | #[deny(this_lint_does_not_exist)]
|
25 | 25 | | ^^^^^^^^^^^^^^^^^^^^^^^^
|
26 | 26 | |
|
27 | 27 | = note: `#[warn(unknown_lints)]` on by default
|
28 | 28 |
|
29 | 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:8:23 |
| 30 | + --> $DIR/lint-tool-test.rs:9:23 |
31 | 31 | |
|
32 | 32 | LL | #![cfg_attr(foo, warn(test_lint))]
|
33 | 33 | | ^^^^^^^^^ help: change it to: `clippy::test_lint`
|
34 | 34 |
|
| 35 | +warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/issues/29597 |
| 36 | + --> $DIR/lint-tool-test.rs:6:1 |
| 37 | + | |
| 38 | +LL | #![plugin(lint_tool_test)] |
| 39 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute |
| 40 | + | |
| 41 | + = note: `#[warn(deprecated)]` on by default |
| 42 | + |
35 | 43 | error: item is named 'lintme'
|
36 |
| - --> $DIR/lint-tool-test.rs:14:1 |
| 44 | + --> $DIR/lint-tool-test.rs:15:1 |
37 | 45 | |
|
38 | 46 | LL | fn lintme() { }
|
39 | 47 | | ^^^^^^^^^^^^^^^
|
40 | 48 | |
|
41 | 49 | note: lint level defined here
|
42 |
| - --> $DIR/lint-tool-test.rs:11:9 |
| 50 | + --> $DIR/lint-tool-test.rs:12:9 |
43 | 51 | |
|
44 | 52 | LL | #![deny(clippy_group)]
|
45 | 53 | | ^^^^^^^^^^^^
|
46 | 54 | = note: `#[deny(clippy::test_lint)]` implied by `#[deny(clippy::group)]`
|
47 | 55 |
|
48 | 56 | error: item is named 'lintmetoo'
|
49 |
| - --> $DIR/lint-tool-test.rs:22:5 |
| 57 | + --> $DIR/lint-tool-test.rs:23:5 |
50 | 58 | |
|
51 | 59 | LL | fn lintmetoo() { }
|
52 | 60 | | ^^^^^^^^^^^^^^^^^^
|
53 | 61 | |
|
54 | 62 | note: lint level defined here
|
55 |
| - --> $DIR/lint-tool-test.rs:11:9 |
| 63 | + --> $DIR/lint-tool-test.rs:12:9 |
56 | 64 | |
|
57 | 65 | LL | #![deny(clippy_group)]
|
58 | 66 | | ^^^^^^^^^^^^
|
|
0 commit comments