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