]>
Commit | Line | Data |
---|---|---|
32a655c1 | 1 | error[E0425]: cannot find value `A` in module `namespaced_enums` |
8bb4bdeb | 2 | --> $DIR/enums-are-namespaced-xc.rs:15:31 |
32a655c1 SL |
3 | | |
4 | 15 | let _ = namespaced_enums::A; | |
8bb4bdeb | 5 | | ^ not found in `namespaced_enums` |
32a655c1 | 6 | | |
7cac9316 XL |
7 | help: possible candidate is found in another module, you can import it into scope |
8 | | use namespaced_enums::Foo::A; | |
32a655c1 SL |
9 | |
10 | error[E0425]: cannot find function `B` in module `namespaced_enums` | |
8bb4bdeb | 11 | --> $DIR/enums-are-namespaced-xc.rs:18:31 |
32a655c1 SL |
12 | | |
13 | 18 | let _ = namespaced_enums::B(10); | |
8bb4bdeb | 14 | | ^ not found in `namespaced_enums` |
32a655c1 | 15 | | |
7cac9316 XL |
16 | help: possible candidate is found in another module, you can import it into scope |
17 | | use namespaced_enums::Foo::B; | |
32a655c1 SL |
18 | |
19 | error[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 | | |
22 | 21 | let _ = namespaced_enums::C { a: 10 }; | |
8bb4bdeb | 23 | | ^ not found in `namespaced_enums` |
32a655c1 | 24 | | |
7cac9316 XL |
25 | help: possible candidate is found in another module, you can import it into scope |
26 | | use namespaced_enums::Foo::C; | |
32a655c1 | 27 | |
7cac9316 | 28 | error: aborting due to previous error(s) |
32a655c1 | 29 |