fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
3.8 KiB100 linesraw
1warning: 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:9:23
3   |
4LL | #![cfg_attr(foo, warn(test_lint))]
5   |                       ^^^^^^^^^ help: change it to: `clippy::test_lint`
6   |
7   = note: `#[warn(renamed_and_removed_lints)]` on by default
8
9warning: 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:13:9
11   |
12LL | #![deny(clippy_group)]
13   |         ^^^^^^^^^^^^ help: change it to: `clippy::group`
14
15warning: 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:29:9
17   |
18LL | #[allow(test_group)]
19   |         ^^^^^^^^^^ help: change it to: `clippy::test_group`
20
21warning: unknown lint: `this_lint_does_not_exist`
22  --> $DIR/lint-tool-test.rs:33:8
23   |
24LL | #[deny(this_lint_does_not_exist)]
25   |        ^^^^^^^^^^^^^^^^^^^^^^^^
26   |
27   = note: `#[warn(unknown_lints)]` on by default
28
29warning: 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:9:23
31   |
32LL | #![cfg_attr(foo, warn(test_lint))]
33   |                       ^^^^^^^^^ help: change it to: `clippy::test_lint`
34
35warning: 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   |
38LL | #![deny(clippy_group)]
39   |         ^^^^^^^^^^^^ help: change it to: `clippy::group`
40
41warning: 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   |
44LL | #[allow(test_group)]
45   |         ^^^^^^^^^^ help: change it to: `clippy::test_group`
46
47warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
48  --> $DIR/lint-tool-test.rs:6:1
49   |
50LL | #![plugin(lint_tool_test)]
51   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
52   |
53   = note: `#[warn(deprecated)]` on by default
54
55warning: 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   |
58LL | #![cfg_attr(foo, warn(test_lint))]
59   |                       ^^^^^^^^^ help: change it to: `clippy::test_lint`
60
61warning: 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   |
64LL | #![deny(clippy_group)]
65   |         ^^^^^^^^^^^^ help: change it to: `clippy::group`
66
67error: item is named 'lintme'
68  --> $DIR/lint-tool-test.rs:18:1
69   |
70LL | fn lintme() { }
71   | ^^^^^^^^^^^^^^^
72   |
73note: lint level defined here
74  --> $DIR/lint-tool-test.rs:13:9
75   |
76LL | #![deny(clippy_group)]
77   |         ^^^^^^^^^^^^
78   = note: `#[deny(clippy::test_lint)]` implied by `#[deny(clippy::group)]`
79
80error: item is named 'lintmetoo'
81  --> $DIR/lint-tool-test.rs:26:5
82   |
83LL |     fn lintmetoo() { }
84   |     ^^^^^^^^^^^^^^^^^^
85   |
86note: lint level defined here
87  --> $DIR/lint-tool-test.rs:13:9
88   |
89LL | #![deny(clippy_group)]
90   |         ^^^^^^^^^^^^
91   = note: `#[deny(clippy::test_group)]` implied by `#[deny(clippy::group)]`
92
93warning: 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   |
96LL | #[allow(test_group)]
97   |         ^^^^^^^^^^ help: change it to: `clippy::test_group`
98
99error: aborting due to 2 previous errors
100