fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0425]: cannot find value `A` in crate `namespaced_enums` 2 --> $DIR/enums-are-namespaced-xc.rs:5:31 3 | 4LL | let _ = namespaced_enums::A; 5 | ^ not found in `namespaced_enums` 6help: possible candidate is found in another module, you can import it into scope 7 | 8LL | use namespaced_enums::Foo::A; 9 | 10 11error[E0425]: cannot find function `B` in crate `namespaced_enums` 12 --> $DIR/enums-are-namespaced-xc.rs:7:31 13 | 14LL | let _ = namespaced_enums::B(10); 15 | ^ not found in `namespaced_enums` 16help: possible candidate is found in another module, you can import it into scope 17 | 18LL | use namespaced_enums::Foo::B; 19 | 20 21error[E0422]: cannot find struct, variant or union type `C` in crate `namespaced_enums` 22 --> $DIR/enums-are-namespaced-xc.rs:9:31 23 | 24LL | let _ = namespaced_enums::C { a: 10 }; 25 | ^ not found in `namespaced_enums` 26help: possible candidate is found in another module, you can import it into scope 27 | 28LL | use namespaced_enums::Foo::C; 29 | 30 31error: aborting due to 3 previous errors 32 33Some errors have detailed explanations: E0422, E0425. 34For more information about an error, try `rustc --explain E0422`.