2018-09-01 21:45:44 +05:30
|
|
|
warning: lint name `test_lint` is deprecated and does not have an effect anymore. Use: clippy::test_lint
|
2018-09-01 18:06:36 +02:00
|
|
|
|
|
|
|
|
= note: requested on the command line with `-A test_lint`
|
|
|
|
|
2019-10-03 09:33:28 +02:00
|
|
|
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/issues/29597
|
|
|
|
--> $DIR/lint-tool-cmdline-allow.rs:8:1
|
|
|
|
|
|
|
|
|
LL | #![plugin(lint_tool_test)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
|
2018-09-01 18:06:36 +02:00
|
|
|
warning: item is named 'lintme'
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/lint-tool-cmdline-allow.rs:10:1
|
2018-09-01 18:06:36 +02:00
|
|
|
|
|
2019-03-12 00:49:17 +00:00
|
|
|
LL | fn lintme() {}
|
|
|
|
| ^^^^^^^^^^^^^^
|
2018-09-01 18:06:36 +02:00
|
|
|
|
|
2019-07-16 22:17:38 +02:00
|
|
|
= note: `#[warn(clippy::test_lint)]` on by default
|
2018-09-01 18:06:36 +02:00
|
|
|
|
|
|
|
warning: function is never used: `lintme`
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/lint-tool-cmdline-allow.rs:10:1
|
2018-09-01 18:06:36 +02:00
|
|
|
|
|
2019-03-12 00:49:17 +00:00
|
|
|
LL | fn lintme() {}
|
2018-09-01 18:06:36 +02:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/lint-tool-cmdline-allow.rs:7:9
|
2018-09-01 18:06:36 +02:00
|
|
|
|
|
|
|
|
LL | #![warn(unused)]
|
|
|
|
| ^^^^^^
|
2019-07-16 22:17:38 +02:00
|
|
|
= note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
|
2018-09-01 18:06:36 +02:00
|
|
|
|