]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/or-patterns/or-pattern-mismatch.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / or-patterns / or-pattern-mismatch.stderr
index 731b2090a7ba04bc140d7c825bf96c74575b7133..be06f3666cb3e803496525ad31bb73235806aff9 100644 (file)
@@ -3,9 +3,6 @@ error[E0308]: mismatched types
    |
 LL | fn main() { match Blah::A(1, 1, 2) { Blah::A(_, x, y) | Blah::B(x, y) => { } } }
    |                                                                    ^ expected usize, found isize
-   |
-   = note: expected type `usize`
-              found type `isize`
 
 error: aborting due to previous error