Sign in
rust
/
rust
/
8a7e1d75b2e2f4a2e89420130bca8d8d97f9074e
/
.
/
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
));
}