2019-12-11 10:04:34 +01:00
|
|
|
error[E0308]: mismatched types
|
2022-09-24 17:22:04 +02:00
|
|
|
--> $DIR/pat-tuple-5.rs:7:10
|
2019-12-11 10:04:34 +01:00
|
|
|
|
|
2021-12-15 23:16:21 +00:00
|
|
|
LL | match (0, 1) {
|
|
|
|
| ------ this expression has type `({integer}, {integer})`
|
2019-12-11 10:04:34 +01:00
|
|
|
LL | (PAT ..) => {}
|
2023-01-02 18:00:33 -08:00
|
|
|
| ^^^ expected `({integer}, {integer})`, found `u8`
|
2019-12-11 10:04:34 +01:00
|
|
|
|
|
|
|
|
= note: expected tuple `({integer}, {integer})`
|
|
|
|
found type `u8`
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2019-12-11 10:04:34 +01:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|