1 error[E0428]: the name `foo` is defined multiple times
2 --> $DIR/issue-28472.rs:6:3
5 | --------- previous definition of the value `foo` here
9 | |___________^ `foo` redefined here
11 = note: `foo` must be defined only once in the value namespace of this module
13 error[E0428]: the name `foo` is defined multiple times
14 --> $DIR/issue-28472.rs:9:3
17 | --------- previous definition of the value `foo` here
20 LL | | static mut foo: u32;
21 | |______________________^ `foo` redefined here
23 = note: `foo` must be defined only once in the value namespace of this module
25 error: aborting due to 2 previous errors
27 For more information about this error, try `rustc --explain E0428`.