体验新版 GitCode,发现更多精彩内容 >>
error[E0308]: mismatched types --> $DIR/default-match-bindings-forbidden.rs:6:5 | LL | (x, y) = &(1, 2);
| ^^^^^^ expected reference, found tuple
| = note: expected type `&({integer}, {integer})` found tuple `(_, _)` error: aborting due to previous error For more information about this error, try `rustc --explain E0308`.