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-plugin-cmdline-allow.rs:8:1
|
|
|
|
|
|
|
|
|
LL | #![plugin(lint_plugin_test)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
|
2017-05-13 17:54:50 +08:00
|
|
|
warning: function is never used: `lintme`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/lint-plugin-cmdline-allow.rs:10:1
|
2017-05-13 17:54:50 +08:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | fn lintme() { }
|
2017-09-25 12:01:55 -07:00
|
|
|
| ^^^^^^^^^^^
|
2017-05-13 17:54:50 +08:00
|
|
|
|
|
2017-07-26 21:51:09 -07:00
|
|
|
note: lint level defined here
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/lint-plugin-cmdline-allow.rs:7:9
|
2017-07-26 21:51:09 -07:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | #![warn(unused)]
|
2017-07-26 21:51:09 -07:00
|
|
|
| ^^^^^^
|
2019-07-16 22:17:38 +02:00
|
|
|
= note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
|
2017-05-13 17:54:50 +08:00
|
|
|
|