Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
pattern
/
usefulness
/
refutable-pattern-in-fn-arg.rs
blob: 4203dd94d43aad53fd8e0876508f1fc4c4551495 [
file
] [
log
] [
blame
]
fn
main
()
{
let
f
=
|
3
:
isize
|
println
!(
"hello"
);
//~^ ERROR refutable pattern in function argument
//~| `..=2_isize` and `4_isize..` not covered
f
(
4
);
}