mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
62ba3e70a1
The previous output was unintuitive to users.
15 lines
450 B
Plaintext
15 lines
450 B
Plaintext
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`.
|