fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
402 B14 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
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`.