]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/no-move-across-await-tuple.stderr
Rollup merge of #107186 - GuillaumeGomez:correct-pseudo-element-selector, r=notriddle
[rust.git] / tests / ui / async-await / no-move-across-await-tuple.stderr
1 error[E0382]: use of moved value: `x.1`
2   --> $DIR/no-move-across-await-tuple.rs:8:5
3    |
4 LL |     drop(x.1);
5    |          --- value moved here
6 LL |     nothing().await;
7 LL |     x.1
8    |     ^^^ value used here after move
9    |
10    = note: move occurs because `x.1` has type `Vec<usize>`, which does not implement the `Copy` trait
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0382`.