]>
Commit | Line | Data |
---|---|---|
74b04a01 XL |
1 | $ cargo run |
2 | Compiling patterns v0.1.0 (file:///projects/patterns) | |
3 | error[E0308]: mismatched types | |
4 | --> src/main.rs:2:9 | |
5 | | | |
6 | 2 | let (x, y) = (1, 2, 3); | |
923072b8 FG |
7 | | ^^^^^^ --------- this expression has type `({integer}, {integer}, {integer})` |
8 | | | | |
9 | | expected a tuple with 3 elements, found one with 2 elements | |
74b04a01 XL |
10 | | |
11 | = note: expected tuple `({integer}, {integer}, {integer})` | |
12 | found tuple `(_, _)` | |
13 | ||
74b04a01 | 14 | For more information about this error, try `rustc --explain E0308`. |
c295e0f8 | 15 | error: could not compile `patterns` due to previous error |