]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/type-alias-enum-variants/enum-variant-priority-higher-than-other-inherent.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / type-alias-enum-variants / enum-variant-priority-higher-than-other-inherent.stderr
index 0394ddab46cdab93ae6c0bbd96534e05c911dc52..a1afd5e9a0e255c1bd616a33e54eb3161e2d73f7 100644 (file)
@@ -12,9 +12,6 @@ error[E0308]: mismatched types
    |
 LL |     let _: u8 = <E2>::V;
    |                 ^^^^^^^ expected u8, found enum `E2`
-   |
-   = note: expected type `u8`
-              found type `E2`
 
 error: aborting due to 2 previous errors