fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0422]: cannot find struct, variant or union type `E` in this scope 2 --> $DIR/issue-17518.rs:6:5 3 | 4LL | E { name: "foobar" }; 5 | ^ not found in this scope 6 | 7help: possible candidate is found in another module, you can import it into scope 8 | 9LL | use SomeEnum::E; 10 | 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0422`.