]>
Commit | Line | Data |
---|---|---|
0731742a XL |
1 | warning: unused extern crate |
2 | --> $DIR/no-macro-use-attr.rs:6:1 | |
3 | | | |
dc9dc135 XL |
4 | LL | extern crate test_macros; |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it | |
0731742a | 6 | | |
74b04a01 | 7 | note: the lint level is defined here |
0731742a XL |
8 | --> $DIR/no-macro-use-attr.rs:4:9 |
9 | | | |
10 | LL | #![warn(unused_extern_crates)] | |
11 | | ^^^^^^^^^^^^^^^^^^^^ | |
12 | ||
60c5eb7d | 13 | error: fatal error triggered by #[rustc_error] |
0731742a XL |
14 | --> $DIR/no-macro-use-attr.rs:10:1 |
15 | | | |
532ac7d7 | 16 | LL | fn main() {} |
3dfed10e | 17 | | ^^^^^^^^^ |
0731742a | 18 | |
4b012472 | 19 | error: aborting due to 1 previous error; 1 warning emitted |
0731742a | 20 |