]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/let-else/let-else-destructuring.rs
4 Nested(Option
<&'
static Foo
>),
7 fn walk(mut value
: &Foo
) {
9 println
!("{:?}", value
);
10 &Foo
::Nested(Some(value
)) = value
else { break }
; //~ ERROR invalid left-hand side of assignment
11 //~^ERROR <assignment> ... else { ... } is not allowed