2018-09-01 11:15:44 -05:00
|
|
|
warning: lint name `test_lint` is deprecated and does not have an effect anymore. Use: clippy::test_lint
|
2018-09-01 11:06:36 -05:00
|
|
|
|
|
|
|
|
= note: requested on the command line with `-A test_lint`
|
|
|
|
|
|
|
|
warning: item is named 'lintme'
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/lint_tool_cmdline_allow.rs:10:1
|
2018-09-01 11:06:36 -05:00
|
|
|
|
|
|
|
|
LL | fn lintme() { }
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: #[warn(clippy::test_lint)] on by default
|
|
|
|
|
|
|
|
warning: function is never used: `lintme`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/lint_tool_cmdline_allow.rs:10:1
|
2018-09-01 11:06:36 -05:00
|
|
|
|
|
|
|
|
LL | fn lintme() { }
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/lint_tool_cmdline_allow.rs:7:9
|
2018-09-01 11:06:36 -05:00
|
|
|
|
|
|
|
|
LL | #![warn(unused)]
|
|
|
|
| ^^^^^^
|
|
|
|
= note: #[warn(dead_code)] implied by #[warn(unused)]
|
|
|
|
|