fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

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