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