@@ -4,11 +4,11 @@ error[E0425]: cannot find value `A` in crate `namespaced_enums`
44LL |     let _ = namespaced_enums::A;
55   |                               ^ not found in `namespaced_enums`
66   |
7- help: consider importing this unit variant... 
7+ help: consider importing this unit variant
88   |
99LL | use namespaced_enums::Foo::A;
1010   |
11- help: ...and  refer to it directly
11+ help: if you import `A`,  refer to it directly
1212   |
1313LL -     let _ = namespaced_enums::A;
1414LL +     let _ = A;
@@ -20,11 +20,11 @@ error[E0425]: cannot find function, tuple struct or tuple variant `B` in crate `
2020LL |     let _ = namespaced_enums::B(10);
2121   |                               ^ not found in `namespaced_enums`
2222   |
23- help: consider importing this tuple variant... 
23+ help: consider importing this tuple variant
2424   |
2525LL | use namespaced_enums::Foo::B;
2626   |
27- help: ...and  refer to it directly
27+ help: if you import `B`,  refer to it directly
2828   |
2929LL -     let _ = namespaced_enums::B(10);
3030LL +     let _ = B(10);
@@ -36,11 +36,11 @@ error[E0422]: cannot find struct, variant or union type `C` in crate `namespaced
3636LL |     let _ = namespaced_enums::C { a: 10 };
3737   |                               ^ not found in `namespaced_enums`
3838   |
39- help: consider importing this variant... 
39+ help: consider importing this variant
4040   |
4141LL | use namespaced_enums::Foo::C;
4242   |
43- help: ...and  refer to it directly
43+ help: if you import `C`,  refer to it directly
4444   |
4545LL -     let _ = namespaced_enums::C { a: 10 };
4646LL +     let _ = C { a: 10 };
0 commit comments