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:16
22 LL | if let Some(thing) = maybe {
26 | value used here after move
28 = note: move occurs because value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait
30 error[E0382]: use of moved value (Mir)
31 --> $DIR/issue-41962.rs:17:21
33 LL | if let Some(thing) = maybe {
34 | ^^^^^ value moved here in previous iteration of loop
36 = note: move occurs because value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait
38 error[E0382]: use of moved value: `maybe` (Mir)
39 --> $DIR/issue-41962.rs:17:30
41 LL | if let Some(thing) = maybe {
42 | ----- ^^^^^ value used here after move
46 = note: move occurs because value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait
48 error[E0382]: borrow of moved value: `maybe` (Mir)
49 --> $DIR/issue-41962.rs:17:30
51 LL | if let Some(thing) = maybe {
52 | ----- ^^^^^ value borrowed here after move
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`.