]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-41272.rs
6 fn bar(&mut self) -> bool { true }
9 fn error(foo
: &mut Foo
) {
10 if let Some(_
) = Some(true) {
11 } else if foo
.bar() {}
14 fn ok(foo
: &mut Foo
) {
15 if let Some(_
) = Some(true) {