]> git.lizzy.rs Git - rust.git/blob - src/test/ui/destructuring-assignment/default-match-bindings-forbidden.rs
Rollup merge of #95376 - WaffleLapkin:drain_keep_rest, r=dtolnay
[rust.git] / src / test / ui / destructuring-assignment / default-match-bindings-forbidden.rs
1 fn main() {
2     let mut x = &0;
3     let mut y = &0;
4     (x, y) = &(1, 2); //~ ERROR mismatched types
5 }