fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0308]: mismatched types 2 --> $DIR/issue-4968.rs:5:16 3 | 4LL | const A: (isize,isize) = (4,2); 5 | ------------------------------- constant defined here 6LL | fn main() { 7LL | match 42 { A => () } 8 | ^ 9 | | 10 | expected integer, found tuple 11 | `A` is interpreted as a constant, not a new binding 12 | help: introduce a new binding instead: `other_a` 13 | 14 = note: expected type `{integer}` 15 found tuple `(isize, isize)` 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0308`.