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
13 help: consider removing the borrow
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0507`.