rust/tests/ui/expr/if/attrs/let-chains-attr.rs
2023-01-11 09:32:08 +00:00

14 lines
199 B
Rust

// 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() {}