@@ -4,11 +4,11 @@ error[E0425]: cannot find value `A` in crate `namespaced_enums`
4
4
LL | let _ = namespaced_enums::A;
5
5
| ^ not found in `namespaced_enums`
6
6
|
7
- help: consider importing this unit variant...
7
+ help: consider importing this unit variant
8
8
|
9
9
LL | use namespaced_enums::Foo::A;
10
10
|
11
- help: ...and refer to it directly
11
+ help: if you import `A`, refer to it directly
12
12
|
13
13
LL - let _ = namespaced_enums::A;
14
14
LL + let _ = A;
@@ -20,11 +20,11 @@ error[E0425]: cannot find function, tuple struct or tuple variant `B` in crate `
20
20
LL | let _ = namespaced_enums::B(10);
21
21
| ^ not found in `namespaced_enums`
22
22
|
23
- help: consider importing this tuple variant...
23
+ help: consider importing this tuple variant
24
24
|
25
25
LL | use namespaced_enums::Foo::B;
26
26
|
27
- help: ...and refer to it directly
27
+ help: if you import `B`, refer to it directly
28
28
|
29
29
LL - let _ = namespaced_enums::B(10);
30
30
LL + let _ = B(10);
@@ -36,11 +36,11 @@ error[E0422]: cannot find struct, variant or union type `C` in crate `namespaced
36
36
LL | let _ = namespaced_enums::C { a: 10 };
37
37
| ^ not found in `namespaced_enums`
38
38
|
39
- help: consider importing this variant...
39
+ help: consider importing this variant
40
40
|
41
41
LL | use namespaced_enums::Foo::C;
42
42
|
43
- help: ...and refer to it directly
43
+ help: if you import `C`, refer to it directly
44
44
|
45
45
LL - let _ = namespaced_enums::C { a: 10 };
46
46
LL + let _ = C { a: 10 };
0 commit comments