mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
14 lines
200 B
Rust
14 lines
200 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() {}
|