Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
lint
/
unused
/
issue-119383-if-let-guard.rs
blob: 71197444f45c3199cdb37deb17027d8a6686e66b [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
if_let_guard
)]
#![
deny
(
unused_variables
)]
fn
main
()
{
match
()
{
()
if
let
Some
(
b
)
=
Some
(())
=>
{}
//~ ERROR unused variable: `b`
_
=>
{}
}
}