]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/issues/issue-66958-non-copy-infered-type-arg.stderr
Auto merge of #75912 - scottmcm:manuallydrop-vs-forget, r=Mark-Simulacrum
[rust.git] / src / test / ui / async-await / issues / issue-66958-non-copy-infered-type-arg.stderr
1 error[E0382]: use of partially moved value: `self`
2   --> $DIR/issue-66958-non-copy-infered-type-arg.rs:11:20
3    |
4 LL |         Self::partial(self.0);
5    |                       ------ value partially moved here
6 LL |         Self::full(self);
7    |                    ^^^^ value used here after partial move
8    |
9    = note: partial 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`.