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