]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/enums-are-namespaced-xc.stderr
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / resolve / enums-are-namespaced-xc.stderr
1 error[E0425]: cannot find value `A` in crate `namespaced_enums`
2   --> $DIR/enums-are-namespaced-xc.rs:5:31
3    |
4 LL |     let _ = namespaced_enums::A;
5    |                               ^ not found in `namespaced_enums`
6    |
7 help: consider importing this unit variant
8    |
9 LL | use namespaced_enums::Foo::A;
10    |
11
12 error[E0425]: cannot find function, tuple struct or tuple variant `B` in crate `namespaced_enums`
13   --> $DIR/enums-are-namespaced-xc.rs:7:31
14    |
15 LL |     let _ = namespaced_enums::B(10);
16    |                               ^ not found in `namespaced_enums`
17    |
18 help: consider importing this tuple variant
19    |
20 LL | use namespaced_enums::Foo::B;
21    |
22
23 error[E0422]: cannot find struct, variant or union type `C` in crate `namespaced_enums`
24   --> $DIR/enums-are-namespaced-xc.rs:9:31
25    |
26 LL |     let _ = namespaced_enums::C { a: 10 };
27    |                               ^ not found in `namespaced_enums`
28    |
29 help: consider importing this variant
30    |
31 LL | use namespaced_enums::Foo::C;
32    |
33
34 error: aborting due to 3 previous errors
35
36 Some errors have detailed explanations: E0422, E0425.
37 For more information about an error, try `rustc --explain E0422`.