fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
397 B13 linesraw
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
6help: possible candidate is found in another module, you can import it into scope
7   |
8LL | use SomeEnum::E;
9   |
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0422`.