]>
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 SL |
6 | | |
7 | = help: possible candidate is found in another module, you can import it into scope: | |
8 | `use namespaced_enums::Foo::A;` | |
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 SL |
15 | | |
16 | = help: possible candidate is found in another module, you can import it into scope: | |
17 | `use namespaced_enums::Foo::B;` | |
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 SL |
24 | | |
25 | = help: possible candidate is found in another module, you can import it into scope: | |
26 | `use namespaced_enums::Foo::C;` | |
27 | ||
28 | error: aborting due to 3 previous errors | |
29 |