fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0428]: the name `D` is defined multiple times 2 --> $DIR/dollar-crate.rs:26:13 3 | 4LL | struct D($crate::S); 5 | ^^^^^^^^^^^^^^^^^^^^ 6 | | 7 | `D` redefined here 8 | previous definition of the type `D` here 9... 10LL | local!(); 11 | --------- in this macro invocation 12 | 13 = note: `D` must be defined only once in the type namespace of this module 14 15error[E0428]: the name `D` is defined multiple times 16 --> $DIR/dollar-crate.rs:36:5 17 | 18LL | dollar_crate_external::external!(); 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 27error: aborting due to 2 previous errors 28 29For more information about this error, try `rustc --explain E0428`.