summary refs log tree commit diff
path: root/src/test/ui/or-pattern-mismatch.stderr
blob: 731b2090a7ba04bc140d7c825bf96c74575b7133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0308]: mismatched types
  --> $DIR/or-pattern-mismatch.rs:3:68
   |
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

For more information about this error, try `rustc --explain E0308`.