blob: 2cd8731141af752a8b65559c9155948f6b47eeb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// check-pass
#![feature(let_chains)]
#[cfg(FALSE)]
fn foo() {
#[attr]
if let Some(_) = Some(true) && let Ok(_) = Ok(1) {
} else if let Some(false) = Some(true) {
}
}
fn main() {}
|