fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
601 B15 linesraw
1error[E0428]: the name `MyStruct` is defined multiple times
2  --> $DIR/cross-crate-redefine.rs:10:1
3   |
4LL | my_struct!(define);
5   | ^^^^^^^^^^^^^^^^^^ `MyStruct` redefined here
6LL |
7LL | my_struct!(define);
8   | ------------------ previous definition of the type `MyStruct` here
9   |
10   = note: `MyStruct` must be defined only once in the type namespace of this module
11   = note: this error originates in the macro `my_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0428`.