blob: ff7b625a68e4a82eddfcdc9ec56cf8c267110a42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// When conflicts between by-move bindings in `by_move_1 @ has_by_move` patterns
// happen and that code is unreachable according to borrowck, we accept this code.
// In particular, we want to ensure here that an ICE does not happen, which it did originally.
// check-pass
fn main() {
return;
struct S;
let a @ (b, c) = (S, S);
}
|