10 lines
179 B
Rust
10 lines
179 B
Rust
|
#![feature(if_let_guard)]
|
||
|
#![deny(unused_variables)]
|
||
|
|
||
|
fn main() {
|
||
|
match () {
|
||
|
() if let Some(b) = Some(()) => {} //~ ERROR unused variable: `b`
|
||
|
_ => {}
|
||
|
}
|
||
|
}
|