]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/enums-are-namespaced-xc.stderr
New upstream version 1.23.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:15:31
3 |
4 15 | 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 14 | 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:18:31
13 |
14 18 | 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 14 | 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:21:31
23 |
24 21 | 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 14 | use namespaced_enums::Foo::C;
29 |
30
31 error: aborting due to 3 previous errors
32