]>
Commit | Line | Data |
---|---|---|
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 | | | |
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` | |
11 | --> $DIR/enums-are-namespaced-xc.rs:18:31 | |
12 | | | |
13 | 18 | let _ = namespaced_enums::B(10); | |
14 | | ^ not found in `namespaced_enums` | |
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` | |
20 | --> $DIR/enums-are-namespaced-xc.rs:21:31 | |
21 | | | |
22 | 21 | let _ = namespaced_enums::C { a: 10 }; | |
23 | | ^ not found in `namespaced_enums` | |
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 previous error(s) | |
29 |