error[E0658]: destructuring assignments are unstable
  --> $DIR/issue-77218.rs:4:19
   |
LL |     while Some(0) = value.get(0) {
   |           ------- ^
   |           |
   |           cannot assign to this expression
   |
   = note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
   = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable
help: you might have meant to use pattern destructuring
   |
LL |     while let Some(0) = value.get(0) {
   |           +++

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
