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