]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/issues/issue-66958-non-copy-infered-type-arg.stderr
Rollup merge of #71627 - ldm0:autoderefarg, r=Dylan-DPC
[rust.git] / src / test / ui / async-await / issues / issue-66958-non-copy-infered-type-arg.stderr
1 error[E0382]: use of moved value: `self`
2   --> $DIR/issue-66958-non-copy-infered-type-arg.rs:11:20
3    |
4 LL |         Self::partial(self.0);
5    |                       ------ value moved here
6 LL |         Self::full(self);
7    |                    ^^^^ value used here after partial move
8    |
9    = note: move occurs because `self.0` has type `S`, which does not implement the `Copy` trait
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0382`.