]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/lint_tool_test.stderr
Add hint for cfg_attr and fix test
[rust.git] / src / test / ui-fulldeps / lint_tool_test.stderr
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
3    |
4 LL | #![deny(clippy_group)]
5    |         ^^^^^^^^^^^^ help: change it to: `clippy::group`
6    |
7    = note: #[warn(renamed_and_removed_lints)] on by default
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
11    |
12 LL | #[allow(test_group)]
13    |         ^^^^^^^^^^ help: change it to: `clippy::test_group`
14
15 warning: unknown lint: `this_lint_does_not_exist`
16   --> $DIR/lint_tool_test.rs:34:8
17    |
18 LL | #[deny(this_lint_does_not_exist)] //~ WARNING unknown lint: `this_lint_does_not_exist`
19    |        ^^^^^^^^^^^^^^^^^^^^^^^^
20    |
21    = note: #[warn(unknown_lints)] on by default
22
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
25    |
26 LL | #![deny(clippy_group)]
27    |         ^^^^^^^^^^^^ help: change it to: `clippy::group`
28
29 error: item is named 'lintme'
30   --> $DIR/lint_tool_test.rs:21:1
31    |
32 LL | fn lintme() { } //~ ERROR item is named 'lintme'
33    | ^^^^^^^^^^^^^^^
34    |
35 note: lint level defined here
36   --> $DIR/lint_tool_test.rs:17:9
37    |
38 LL | #![deny(clippy_group)]
39    |         ^^^^^^^^^^^^
40    = note: #[deny(clippy::test_lint)] implied by #[deny(clippy::group)]
41
42 error: item is named 'lintmetoo'
43   --> $DIR/lint_tool_test.rs:29:5
44    |
45 LL |     fn lintmetoo() { } //~ ERROR item is named 'lintmetoo'
46    |     ^^^^^^^^^^^^^^^^^^
47    |
48 note: lint level defined here
49   --> $DIR/lint_tool_test.rs:17:9
50    |
51 LL | #![deny(clippy_group)]
52    |         ^^^^^^^^^^^^
53    = note: #[deny(clippy::test_group)] implied by #[deny(clippy::group)]
54
55 error: aborting due to 2 previous errors
56