1 error[E0507]: cannot move out of `x` as enum variant `Some` which is behind a shared reference
2 --> $DIR/issue-99470-move-out-of-some.rs:4:11
11 | | move occurs because `_y` has type `Box<i32>`, which does not implement the `Copy` trait
12 | help: consider removing the `&`: `Some(_y)`
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0507`.