1 error[E0308]: mismatched types
2 --> $DIR/issue-77218.rs:3:11
4 LL | while Some(0) = value.get(0) {
5 | ^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()`
7 help: you might have meant to use pattern matching
9 LL | while let Some(0) = value.get(0) {
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0308`.