fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0507]: cannot move out of `self.v` which is behind a shared reference 2 --> $DIR/for-i-in-vec.rs:10:18 3 | 4LL | for _ in self.v { 5 | ^^^^^^ 6 | | 7 | move occurs because `self.v` has type `std::vec::Vec<u32>`, which does not implement the `Copy` trait 8 | help: consider iterating over a slice of the `Vec<_>`'s content: `&self.v` 9 10error: aborting due to previous error 11 12For more information about this error, try `rustc --explain E0507`.