fork/rust

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

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

master
572 B22 linesraw
1error[E0428]: the name `Baz` is defined multiple times
2  --> $DIR/issue-36935.rs:8:1
3   |
4LL | struct Baz {
5   | ^^^^^^^^^^
6   | |
7   | `Baz` redefined here
8   | previous definition of the type `Baz` here
9   |
10   = note: `Baz` must be defined only once in the type namespace of this module
11
12error: proc-macro derive panicked
13  --> $DIR/issue-36935.rs:7:20
14   |
15LL | #[derive(Identity, Panic)]
16   |                    ^^^^^
17   |
18   = help: message: panic-derive
19
20error: aborting due to 2 previous errors
21
22For more information about this error, try `rustc --explain E0428`.