108 lines
3.7 KiB
Plaintext
108 lines
3.7 KiB
Plaintext
warning: lint name `test_lint` is deprecated and may not have an effect in the future.
|
|
--> $DIR/lint-tool-test.rs:9:23
|
|
|
|
|
LL | #![cfg_attr(foo, warn(test_lint))]
|
|
| ^^^^^^^^^ help: change it to: `clippy::test_lint`
|
|
|
|
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
|
|
|
|
warning: lint name `clippy_group` is deprecated and may not have an effect in the future.
|
|
--> $DIR/lint-tool-test.rs:13:9
|
|
|
|
|
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.
|
|
--> $DIR/lint-tool-test.rs:29:9
|
|
|
|
|
LL | #[allow(test_group)]
|
|
| ^^^^^^^^^^ help: change it to: `clippy::test_group`
|
|
|
|
warning: lint name `test_lint` is deprecated and may not have an effect in the future.
|
|
--> $DIR/lint-tool-test.rs:9:23
|
|
|
|
|
LL | #![cfg_attr(foo, warn(test_lint))]
|
|
| ^^^^^^^^^ help: change it to: `clippy::test_lint`
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
warning: lint name `clippy_group` is deprecated and may not have an effect in the future.
|
|
--> $DIR/lint-tool-test.rs:13:9
|
|
|
|
|
LL | #![deny(clippy_group)]
|
|
| ^^^^^^^^^^^^ help: change it to: `clippy::group`
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
error: item is named 'lintme'
|
|
--> $DIR/lint-tool-test.rs:18:1
|
|
|
|
|
LL | fn lintme() { }
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/lint-tool-test.rs:13:9
|
|
|
|
|
LL | #![deny(clippy_group)]
|
|
| ^^^^^^^^^^^^
|
|
= note: `#[deny(clippy::test_lint)]` implied by `#[deny(clippy::group)]`
|
|
|
|
error: item is named 'lintmetoo'
|
|
--> $DIR/lint-tool-test.rs:26:5
|
|
|
|
|
LL | fn lintmetoo() { }
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[deny(clippy::test_group)]` implied by `#[deny(clippy::group)]`
|
|
|
|
warning: lint name `test_group` is deprecated and may not have an effect in the future.
|
|
--> $DIR/lint-tool-test.rs:29:9
|
|
|
|
|
LL | #[allow(test_group)]
|
|
| ^^^^^^^^^^ help: change it to: `clippy::test_group`
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
warning: unknown lint: `this_lint_does_not_exist`
|
|
--> $DIR/lint-tool-test.rs:33:8
|
|
|
|
|
LL | #[deny(this_lint_does_not_exist)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(unknown_lints)]` on by default
|
|
|
|
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
|
|
--> $DIR/lint-tool-test.rs:6:1
|
|
|
|
|
LL | #![plugin(lint_tool_test)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
warning: lint name `test_lint` is deprecated and may not have an effect in the future.
|
|
--> $DIR/lint-tool-test.rs:9:23
|
|
|
|
|
LL | #![cfg_attr(foo, warn(test_lint))]
|
|
| ^^^^^^^^^ help: change it to: `clippy::test_lint`
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
warning: lint name `clippy_group` is deprecated and may not have an effect in the future.
|
|
--> $DIR/lint-tool-test.rs:13:9
|
|
|
|
|
LL | #![deny(clippy_group)]
|
|
| ^^^^^^^^^^^^ help: change it to: `clippy::group`
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
warning: lint name `test_group` is deprecated and may not have an effect in the future.
|
|
--> $DIR/lint-tool-test.rs:29:9
|
|
|
|
|
LL | #[allow(test_group)]
|
|
| ^^^^^^^^^^ help: change it to: `clippy::test_group`
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
error: aborting due to 2 previous errors; 11 warnings emitted
|
|
|