fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
551 B15 linesraw
1error[E0382]: use of moved value
2  --> $DIR/issue-53807.rs:4:21
3   |
4LL |         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
8help: borrow this binding in the pattern to avoid moving the value
9   |
10LL |         if let Some(ref thing) = maybe {
11   |                     +++
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0382`.