2018-08-30 10:27:35 +02:00
|
|
|
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
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/lint-tool-test.rs:8:23
|
2018-07-30 11:30:07 +02:00
|
|
|
|
|
2018-08-30 10:27:35 +02:00
|
|
|
LL | #![cfg_attr(foo, warn(test_lint))]
|
|
|
|
| ^^^^^^^^^ help: change it to: `clippy::test_lint`
|
2018-08-27 23:22:47 +02:00
|
|
|
|
|
2019-07-16 22:17:38 +02:00
|
|
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
|
2018-08-27 23:22:47 +02:00
|
|
|
|
2018-08-30 10:27:35 +02:00
|
|
|
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
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/lint-tool-test.rs:11:9
|
2018-08-30 10:27:35 +02:00
|
|
|
|
|
|
|
|
LL | #![deny(clippy_group)]
|
|
|
|
| ^^^^^^^^^^^^ help: change it to: `clippy::group`
|
|
|
|
|
|
|
|
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
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/lint-tool-test.rs:25:9
|
2018-08-27 23:22:47 +02:00
|
|
|
|
|
|
|
|
LL | #[allow(test_group)]
|
|
|
|
| ^^^^^^^^^^ help: change it to: `clippy::test_group`
|
|
|
|
|
|
|
|
warning: unknown lint: `this_lint_does_not_exist`
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/lint-tool-test.rs:27:8
|
2018-08-27 23:22:47 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[deny(this_lint_does_not_exist)]
|
2018-08-27 23:22:47 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2019-07-16 22:17:38 +02:00
|
|
|
= note: `#[warn(unknown_lints)]` on by default
|
2018-08-27 23:22:47 +02:00
|
|
|
|
2018-08-30 10:27:35 +02:00
|
|
|
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
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/lint-tool-test.rs:8:23
|
2018-08-27 23:22:47 +02:00
|
|
|
|
|
2018-08-30 10:27:35 +02:00
|
|
|
LL | #![cfg_attr(foo, warn(test_lint))]
|
|
|
|
| ^^^^^^^^^ help: change it to: `clippy::test_lint`
|
2018-08-27 23:22:47 +02:00
|
|
|
|
|
|
|
error: item is named 'lintme'
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/lint-tool-test.rs:14:1
|
2018-08-27 23:22:47 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | fn lintme() { }
|
2018-07-30 11:30:07 +02:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-27 23:22:47 +02:00
|
|
|
note: lint level defined here
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/lint-tool-test.rs:11:9
|
2018-08-27 23:22:47 +02:00
|
|
|
|
|
|
|
|
LL | #![deny(clippy_group)]
|
|
|
|
| ^^^^^^^^^^^^
|
2019-07-16 22:17:38 +02:00
|
|
|
= note: `#[deny(clippy::test_lint)]` implied by `#[deny(clippy::group)]`
|
2018-08-27 23:22:47 +02:00
|
|
|
|
|
|
|
error: item is named 'lintmetoo'
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/lint-tool-test.rs:22:5
|
2018-08-27 23:22:47 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | fn lintmetoo() { }
|
2018-08-27 23:22:47 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/lint-tool-test.rs:11:9
|
2018-08-27 23:22:47 +02:00
|
|
|
|
|
|
|
|
LL | #![deny(clippy_group)]
|
|
|
|
| ^^^^^^^^^^^^
|
2019-07-16 22:17:38 +02:00
|
|
|
= note: `#[deny(clippy::test_group)]` implied by `#[deny(clippy::group)]`
|
2018-08-27 23:22:47 +02:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-07-30 11:30:07 +02:00
|
|
|
|