fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

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