summary refs log tree commit diff
path: root/src/test/ui/codemap_tests/tab_3.stderr
blob: f19f5f20d23ec8c534e6d115a7c4b78a14307b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0382]: use of moved value: `some_vec`
  --> $DIR/tab_3.rs:17:20
   |
15 |  some_vec.into_iter();
   |  -------- value moved here
16 |  {
17 |   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