]> git.proxmox.com Git - rustc.git/blame - src/test/ui/nll/issue-53807.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / nll / issue-53807.stderr
CommitLineData
48663c56 1error[E0382]: use of moved value
0731742a 2 --> $DIR/issue-53807.rs:4:21
0bf4aa26
XL
3 |
4LL | if let Some(thing) = maybe {
48663c56 5 | ^^^^^ value moved here, in previous iteration of loop
0bf4aa26 6 |
1b1a35ee 7 = note: move occurs because value has type `Vec<bool>`, which does not implement the `Copy` trait
f035d41b
XL
8help: borrow this field in the pattern to avoid moving `maybe.0`
9 |
10LL | if let Some(ref thing) = maybe {
11 | ^^^
0bf4aa26 12
48663c56 13error: aborting due to previous error
0bf4aa26
XL
14
15For more information about this error, try `rustc --explain E0382`.