]> git.proxmox.com Git - rustc.git/blob - src/test/ui/nll/issue-53807.stderr
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / ui / nll / issue-53807.stderr
1 error[E0382]: use of partially moved value: `maybe`
2 --> $DIR/issue-53807.rs:14:30
3 |
4 LL | if let Some(thing) = maybe {
5 | ----- ^^^^^ value used here after move
6 | |
7 | value moved here
8 |
9 = note: move occurs because the value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait
10
11 error[E0382]: use of moved value: `(maybe as std::prelude::v1::Some).0`
12 --> $DIR/issue-53807.rs:14:21
13 |
14 LL | if let Some(thing) = maybe {
15 | ^^^^^ value moved here in previous iteration of loop
16 |
17 = note: move occurs because the value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0382`.