rust/src/test/ui/proc-macro/no-macro-use-attr.stderr

21 lines
470 B
Plaintext
Raw Normal View History

warning: unused extern crate
2018-12-25 09:56:47 -06:00
--> $DIR/no-macro-use-attr.rs:6:1
|
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
|
LL | #![warn(unused_extern_crates)]
| ^^^^^^^^^^^^^^^^^^^^
error: compilation successful
2018-12-25 09:56:47 -06:00
--> $DIR/no-macro-use-attr.rs:10:1
|
LL | fn main() {} //~ ERROR compilation successful
| ^^^^^^^^^^^^
error: aborting due to previous error