]> git.proxmox.com Git - rustc.git/blame - src/test/ui/resolve/enums-are-namespaced-xc.stderr
New upstream version 1.19.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 6 |
7cac9316
XL
7help: possible candidate is found in another module, you can import it into scope
8 | use namespaced_enums::Foo::A;
32a655c1
SL
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 15 |
7cac9316
XL
16help: possible candidate is found in another module, you can import it into scope
17 | use namespaced_enums::Foo::B;
32a655c1
SL
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 24 |
7cac9316
XL
25help: possible candidate is found in another module, you can import it into scope
26 | use namespaced_enums::Foo::C;
32a655c1 27
7cac9316 28error: aborting due to previous error(s)
32a655c1 29