]> git.proxmox.com Git - rustc.git/blob - src/test/ui/borrowck/issue-41962.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / borrowck / issue-41962.stderr
1 error[E0382]: use of moved value
2 --> $DIR/issue-41962.rs:5:21
3 |
4 LL | if let Some(thing) = maybe {
5 | ^^^^^ value moved here, in previous iteration of loop
6 |
7 = note: move occurs because value has type `Vec<bool>`, which does not implement the `Copy` trait
8 help: borrow this binding in the pattern to avoid moving the value
9 |
10 LL | if let Some(ref thing) = maybe {
11 | +++
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0382`.