rust/tests/ui/proc-macro/shadow.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
521 B
Plaintext
Raw Normal View History

error[E0259]: the name `test_macros` is defined multiple times
2018-12-25 15:56:47 +00:00
--> $DIR/shadow.rs:6:1
|
LL | extern crate test_macros;
| ------------------------- previous import of the extern crate `test_macros` here
2019-03-11 03:05:01 +00:00
LL | #[macro_use]
LL | extern crate test_macros;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `test_macros` reimported here
|
= note: `test_macros` must be defined only once in the type namespace of this module
error: aborting due to previous error
For more information about this error, try `rustc --explain E0259`.