]> git.proxmox.com Git - rustc.git/blame - src/test/ui/async-await/no-move-across-await-struct.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / async-await / no-move-across-await-struct.stderr
CommitLineData
416331ca 1error[E0382]: use of moved value: `s.x`
74b04a01 2 --> $DIR/no-move-across-await-struct.rs:7:5
416331ca
XL
3 |
4LL | needs_vec(s.x).await;
5 | --- value moved here
6LL | 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
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0382`.