fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
2.4 KiB70 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:12: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:26: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:28: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: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
36  --> $DIR/lint-tool-test.rs:6:1
37   |
38LL | #![plugin(lint_tool_test)]
39   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
40   |
41   = note: `#[warn(deprecated)]` on by default
42
43error: item is named 'lintme'
44  --> $DIR/lint-tool-test.rs:15:1
45   |
46LL | fn lintme() { }
47   | ^^^^^^^^^^^^^^^
48   |
49note: lint level defined here
50  --> $DIR/lint-tool-test.rs:12:9
51   |
52LL | #![deny(clippy_group)]
53   |         ^^^^^^^^^^^^
54   = note: `#[deny(clippy::test_lint)]` implied by `#[deny(clippy::group)]`
55
56error: item is named 'lintmetoo'
57  --> $DIR/lint-tool-test.rs:23:5
58   |
59LL |     fn lintmetoo() { }
60   |     ^^^^^^^^^^^^^^^^^^
61   |
62note: lint level defined here
63  --> $DIR/lint-tool-test.rs:12:9
64   |
65LL | #![deny(clippy_group)]
66   |         ^^^^^^^^^^^^
67   = note: `#[deny(clippy::test_group)]` implied by `#[deny(clippy::group)]`
68
69error: aborting due to 2 previous errors
70