fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0507]: cannot move out of index of `MyVec<std::boxed::Box<i32>>` 2 --> $DIR/borrowck-overloaded-index-move-from-vec.rs:20:15 3 | 4LL | let bad = v[0]; 5 | ^^^^ 6 | | 7 | move occurs because value has type `std::boxed::Box<i32>`, which does not implement the `Copy` trait 8 | help: consider borrowing here: `&v[0]` 9 10error: aborting due to previous error 11 12For more information about this error, try `rustc --explain E0507`.