1 error: <assignment> ... else { ... } is not allowed
2 --> $DIR/let-else-destructuring.rs:10:9
4 LL | &Foo::Nested(Some(value)) = value else { break };
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 error[E0070]: invalid left-hand side of assignment
8 --> $DIR/let-else-destructuring.rs:10:35
10 LL | &Foo::Nested(Some(value)) = value else { break };
11 | ------------------------- ^
13 | cannot assign to this expression
15 error: aborting due to 2 previous errors
17 For more information about this error, try `rustc --explain E0070`.