summary refs log tree commit diff
path: root/src/test/ui/proc-macro/shadow.stderr
blob: 2dfe2a94c88e1817a32b64244553880a36521bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0259]: the name `derive_a` is defined multiple times
  --> $DIR/shadow.rs:6:1
   |
LL |   extern crate derive_a;
   |   ---------------------- previous import of the extern crate `derive_a` here
LL | / #[macro_use]
LL | | extern crate derive_a; //~ ERROR the name `derive_a` is defined multiple times
   | | ^^^^^^^^^^^^^^^^^^^^^-
   | |_|____________________|
   |   |                    help: remove unnecessary import
   |   `derive_a` reimported here
   |
   = note: `derive_a` 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`.