rust/src/test/ui/or-pattern-mismatch.stderr
2018-12-25 21:08:33 -07:00

13 lines
442 B
Plaintext

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`.