fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0428]: the name `Foo` is defined multiple times 2 --> $DIR/enum-and-module-in-same-scope.rs:5:1 3 | 4LL | enum Foo { 5 | -------- previous definition of the type `Foo` here 6... 7LL | mod Foo { 8 | ^^^^^^^ `Foo` redefined here 9 | 10 = note: `Foo` must be defined only once in the type namespace of this module 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0428`.