]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/dollar-crate.stderr
Rollup merge of #56914 - glaubitz:ignore-tests, r=alexcrichton
[rust.git] / src / test / ui / proc-macro / dollar-crate.stderr
1 error[E0428]: the name `D` is defined multiple times
2   --> $DIR/dollar-crate.rs:27:13
3    |
4 LL |             struct D($crate::S); //~ ERROR the name `D` is defined multiple times
5    |             ^^^^^^^^^^^^^^^^^^^^
6    |             |
7    |             `D` redefined here
8    |             previous definition of the type `D` here
9 ...
10 LL |     local!();
11    |     --------- in this macro invocation
12    |
13    = note: `D` must be defined only once in the type namespace of this module
14
15 error[E0428]: the name `D` is defined multiple times
16   --> $DIR/dollar-crate.rs:37:5
17    |
18 LL |     dollar_crate_external::external!(); //~ ERROR the name `D` is defined multiple times
19    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20    |     |
21    |     `D` redefined here
22    |     previous definition of the type `D` here
23    |
24    = note: `D` must be defined only once in the type namespace of this module
25    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
26
27 error: aborting due to 2 previous errors
28
29 For more information about this error, try `rustc --explain E0428`.