blob: 43e7f03b8b4ef73195439935ce82107d8f98f557 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error[E0308]: mismatched types
--> $DIR/pat-tuple-5.rs:7:10
|
LL | match (0, 1) {
| ------ this expression has type `({integer}, {integer})`
LL | (PAT ..) => {}
| ^^^ expected `({integer}, {integer})`, found `u8`
|
= note: expected tuple `({integer}, {integer})`
found type `u8`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
|