2019-10-17 06:51:46 -05:00
|
|
|
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
|
2019-10-03 02:33:28 -05:00
|
|
|
--> $DIR/issue-15778-fail.rs:6:1
|
|
|
|
|
|
|
|
|
LL | #![plugin(lint_for_crate)]
|
2019-10-17 06:51:46 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
|
2019-10-03 02:33:28 -05:00
|
|
|
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
|
2018-12-02 13:42:43 -06:00
|
|
|
error: crate is not marked with #![crate_okay]
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-15778-fail.rs:5:1
|
2018-12-02 13:42:43 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | / #![feature(plugin)]
|
2018-12-02 13:42:43 -06:00
|
|
|
LL | | #![plugin(lint_for_crate)]
|
|
|
|
LL | |
|
2019-10-03 02:33:28 -05:00
|
|
|
LL | |
|
2018-12-02 13:42:43 -06:00
|
|
|
LL | | pub fn main() { }
|
|
|
|
| |_________________^
|
|
|
|
|
|
|
|
|
= note: requested on the command line with `-D crate-not-okay`
|
|
|
|
|
2020-03-11 10:30:09 -05:00
|
|
|
error: aborting due to previous error; 1 warning emitted
|
2018-12-02 13:42:43 -06:00
|
|
|
|