6 lines
143 B
Rust
6 lines
143 B
Rust
fn main() {
|
|
let x = Some(42);
|
|
if let Some(_) = x
|
|
&& Some(x) = x //~^ ERROR expected expression, found `let` statement
|
|
{}
|
|
}
|