1 error[E0382]: use of moved value: `x`
2 --> $DIR/ref-suggestion.rs:14:5
6 LL | x; //~ ERROR use of moved value
7 | ^ value used here after move
9 = note: move occurs because `x` has type `std::vec::Vec<i32>`, which does not implement the `Copy` trait
11 error[E0382]: use of moved value: `x`
12 --> $DIR/ref-suggestion.rs:18:5
16 LL | x; //~ ERROR use of moved value
17 | ^ value used here after move
19 = note: move occurs because `x` has type `std::vec::Vec<i32>`, which does not implement the `Copy` trait
21 error[E0382]: use of moved value: `x`
22 --> $DIR/ref-suggestion.rs:26:5
24 LL | (Some(y), ()) => {},
27 LL | x; //~ ERROR use of partially moved value
28 | ^ value used here after move
30 = note: move occurs because value has type `std::vec::Vec<i32>`, which does not implement the `Copy` trait
32 error: aborting due to 3 previous errors
34 For more information about this error, try `rustc --explain E0382`.