]> git.lizzy.rs Git - rust.git/blob - src/test/ui/destructuring-assignment/default-match-bindings-forbidden.rs
Rollup merge of #94145 - ssomers:binary_heap_tests, r=jyn514
[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 }