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