fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
409 B13 linesraw
1error[E0428]: the name `Bar` is defined multiple times
2  --> $DIR/E0428.rs:2:1
3   |
4LL | struct Bar;
5   | ----------- previous definition of the type `Bar` here
6LL | struct Bar;
7   | ^^^^^^^^^^^ `Bar` redefined here
8   |
9   = note: `Bar` must be defined only once in the type namespace of this module
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0428`.