Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
closure-expected-type
/
issue-24421.rs
blob: 2e104b599bd75bd53ba60c7c2ce792a1e20ede44 [
file
] [
log
] [
blame
]
// check-pass
fn
test
<
F
:
Fn
(&
u64
,
&
u64
)>(
f
:
F
)
{}
fn
main
()
{
test
(|
x
,
y
|
{});
test
(|
x
:&
u64
,
y
:&
u64
|
{});
test
(|
x
:&
u64
,
y
|
{});
test
(|
x
,
y
:&
u64
|
{});
}