1 error[E0382]: use of partially moved value: `maybe` (Ast)
2 --> $DIR/issue-41962.rs:17:30
4 LL | if let Some(thing) = maybe {
5 | ----- ^^^^^ value used here after move
9 = note: move occurs because the value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait
11 error[E0382]: use of moved value: `(maybe as std::prelude::v1::Some).0` (Ast)
12 --> $DIR/issue-41962.rs:17:21
14 LL | if let Some(thing) = maybe {
15 | ^^^^^ value moved here in previous iteration of loop
17 = note: move occurs because the value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait
19 error[E0382]: use of moved value: `maybe` (Mir)
20 --> $DIR/issue-41962.rs:17:30
22 LL | if let Some(thing) = maybe {
23 | ----- ^^^^^ value used here after move
27 = note: move occurs because value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait
29 error[E0382]: borrow of moved value: `maybe` (Mir)
30 --> $DIR/issue-41962.rs:17:30
32 LL | if let Some(thing) = maybe {
33 | ----- ^^^^^ value borrowed here after move
37 = note: move occurs because value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait
39 error[E0382]: use of moved value: `maybe` (Mir)
40 --> $DIR/issue-41962.rs:17:16
42 LL | if let Some(thing) = maybe {
46 | value used here after move
48 = note: move occurs because value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait
50 error[E0382]: use of moved value (Mir)
51 --> $DIR/issue-41962.rs:17:21
53 LL | if let Some(thing) = maybe {
54 | ^^^^^ value moved here in previous iteration of loop
56 = note: move occurs because value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait
58 error: aborting due to 6 previous errors
60 For more information about this error, try `rustc --explain E0382`.