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