Rust changed: "cannot bind by-move and by-ref in the same pattern"