1 error[E0428]: the name `D` is defined multiple times
2 --> $DIR/dollar-crate.rs:27:13
4 LL | struct D($crate::S); //~ ERROR the name `D` is defined multiple times
8 | previous definition of the type `D` here
11 | --------- in this macro invocation
13 = note: `D` must be defined only once in the type namespace of this module
15 error[E0428]: the name `D` is defined multiple times
16 --> $DIR/dollar-crate.rs:37:5
18 LL | dollar_crate_external::external!(); //~ ERROR the name `D` is defined multiple times
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 | previous definition of the type `D` here
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)
27 error: aborting due to 2 previous errors
29 For more information about this error, try `rustc --explain E0428`.