rust/tests/ui/half-open-range-patterns/pat-tuple-5.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
450 B
Plaintext
Raw Normal View History

error[E0308]: mismatched types
2022-09-24 10:22:04 -05:00
--> $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`.