]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/no-macro-use-attr.stderr
Move former compile-fail-fulldeps tests to ui
[rust.git] / src / test / ui / proc-macro / no-macro-use-attr.stderr
1 warning: unused extern crate
2   --> $DIR/no-macro-use-attr.rs:16:1
3    |
4 LL | extern crate derive_a;
5    | ^^^^^^^^^^^^^^^^^^^^^^ help: remove it
6    |
7 note: lint level defined here
8   --> $DIR/no-macro-use-attr.rs:14:9
9    |
10 LL | #![warn(unused_extern_crates)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error: compilation successful
14   --> $DIR/no-macro-use-attr.rs:20:1
15    |
16 LL | fn main() {} //~ ERROR compilation successful
17    | ^^^^^^^^^^^^
18
19 error: aborting due to previous error
20