]>
Commit | Line | Data |
---|---|---|
416331ca | 1 | error[E0382]: use of moved value: `s.x` |
74b04a01 | 2 | --> $DIR/no-move-across-await-struct.rs:7:5 |
416331ca XL |
3 | | |
4 | LL | needs_vec(s.x).await; | |
5 | | --- value moved here | |
6 | LL | s.x | |
7 | | ^^^ value used here after move | |
8 | | | |
1b1a35ee | 9 | = note: move occurs because `s.x` has type `Vec<usize>`, which does not implement the `Copy` trait |
416331ca XL |
10 | |
11 | error: aborting due to previous error | |
12 | ||
13 | For more information about this error, try `rustc --explain E0382`. |