Sign in
rust
/
rust
/
f60b6499d84ccf8bf0c325bf7ff3f736e134b730
/
.
/
tests
/
ui
/
binding
/
fn-pattern-expected-type.rs
blob: ca61fa536dc959d48edbdea635235fdea3cffbce [
file
]
//@ run-pass
pub
fn
main
()
{
let
f
=
|(
x
,
y
):
(
isize
,
isize
)|
{
assert_eq
!(
x
,
1
);
assert_eq
!(
y
,
2
);
};
f
((
1
,
2
));
}