2018-12-02 13:27:37 -06:00
|
|
|
warning: unused extern crate
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/no-macro-use-attr.rs:6:1
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
|
|
|
LL | extern crate derive_a;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ help: remove it
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/no-macro-use-attr.rs:4:9
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
|
|
|
LL | #![warn(unused_extern_crates)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: compilation successful
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/no-macro-use-attr.rs:10:1
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
|
|
|
LL | fn main() {} //~ ERROR compilation successful
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|