about summary refs log tree commit diff
path: root/tests/ui/expr/if/attrs/let-chains-attr.rs
blob: 7b74b17784e80ffd7f1864ed39a2f312dbadda91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ check-pass
//@ edition:2024

#[cfg(false)]
fn foo() {
    #[attr]
    if let Some(_) = Some(true) && let Ok(_) = Ok(1) {
    } else if let Some(false) = Some(true) {
    }
}

fn main() {}