fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0507]: cannot move out of `v` in pattern guard 2 --> $DIR/rfc-reject-double-move-across-arms.rs:5:36 3 | 4LL | VecWrapper::A(v) if { drop(v); false } => 1, 5 | ^ move occurs because `v` has type `std::vec::Vec<i32>`, which does not implement the `Copy` trait 6 | 7 = note: variables bound in patterns cannot be moved from until after the end of the pattern guard 8 9error: aborting due to previous error 10 11For more information about this error, try `rustc --explain E0507`.