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