]> git.proxmox.com Git - rustc.git/blame - src/test/ui/resolve/enums-are-namespaced-xc.stderr
New upstream version 1.17.0+dfsg1
[rustc.git] / src / test / ui / resolve / enums-are-namespaced-xc.stderr
CommitLineData
32a655c1 1error[E0425]: cannot find value `A` in module `namespaced_enums`
8bb4bdeb 2 --> $DIR/enums-are-namespaced-xc.rs:15:31
32a655c1
SL
3 |
415 | let _ = namespaced_enums::A;
8bb4bdeb 5 | ^ not found in `namespaced_enums`
32a655c1
SL
6 |
7 = help: possible candidate is found in another module, you can import it into scope:
8 `use namespaced_enums::Foo::A;`
9
10error[E0425]: cannot find function `B` in module `namespaced_enums`
8bb4bdeb 11 --> $DIR/enums-are-namespaced-xc.rs:18:31
32a655c1
SL
12 |
1318 | let _ = namespaced_enums::B(10);
8bb4bdeb 14 | ^ not found in `namespaced_enums`
32a655c1
SL
15 |
16 = help: possible candidate is found in another module, you can import it into scope:
17 `use namespaced_enums::Foo::B;`
18
19error[E0422]: cannot find struct, variant or union type `C` in module `namespaced_enums`
8bb4bdeb 20 --> $DIR/enums-are-namespaced-xc.rs:21:31
32a655c1
SL
21 |
2221 | let _ = namespaced_enums::C { a: 10 };
8bb4bdeb 23 | ^ not found in `namespaced_enums`
32a655c1
SL
24 |
25 = help: possible candidate is found in another module, you can import it into scope:
26 `use namespaced_enums::Foo::C;`
27
28error: aborting due to 3 previous errors
29