summary refs log tree commit diff
path: root/src/test/ui/or-patterns/or-pattern-mismatch.stderr
blob: 253f3ef772525db32cb7f74a3983aab3310c1957 (plain)
1
2
3
4
5
6
7
8
9
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`

error: aborting due to previous error

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