rust/src/test/ui/codemap_tests/tab_3.stderr

15 lines
488 B
Plaintext
Raw Normal View History

error[E0382]: use of moved value: `some_vec`
2018-12-25 09:56:47 -06:00
--> $DIR/tab_3.rs:7:20
|
2018-02-22 18:42:32 -06:00
LL | some_vec.into_iter();
| -------- value moved here
2018-02-24 17:01:39 -06:00
LL | {
2019-03-09 06:03:44 -06:00
LL | println!("{:?}", some_vec);
| ^^^^^^^^ value used here after move
|
= note: move occurs because `some_vec` has type `std::vec::Vec<&str>`, which does not implement the `Copy` trait
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0382`.