2018-12-02 19:27:37 +00:00
|
|
|
warning: unused extern crate
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/no-macro-use-attr.rs:6:1
|
2018-12-02 19:27:37 +00:00
|
|
|
|
|
2019-05-21 22:09:58 +00:00
|
|
|
LL | extern crate test_macros;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
|
2018-12-02 19:27:37 +00:00
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/no-macro-use-attr.rs:4:9
|
2018-12-02 19:27:37 +00:00
|
|
|
|
|
|
|
|
LL | #![warn(unused_extern_crates)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2019-11-05 21:42:23 +00:00
|
|
|
error: fatal error triggered by #[rustc_error]
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/no-macro-use-attr.rs:10:1
|
2018-12-02 19:27:37 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | fn main() {}
|
2020-08-12 21:02:14 +00:00
|
|
|
| ^^^^^^^^^
|
2018-12-02 19:27:37 +00:00
|
|
|
|
2020-03-11 15:30:09 +00:00
|
|
|
error: aborting due to previous error; 1 warning emitted
|
2018-12-02 19:27:37 +00:00
|
|
|
|