Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
moves
/
move-nullary-fn.rs
blob: 14c9262c74d18478685de6ff8deaeabadaff9e07 [
file
] [
log
] [
blame
]
// run-pass
// Issue #922
// pretty-expanded FIXME #23616
fn
f2
<
F
>(
_thing
:
F
)
where F
:
FnOnce
()
{
}
fn
f
<
F
>(
thing
:
F
)
where F
:
FnOnce
()
{
f2
(
thing
);
}
pub
fn
main
()
{
f
(||
{});
}