Sign in
fuchsia
/
third_party
/
rust
/
daafeb35b731a599fc8b6c4cf37b81f838dae319
/
.
/
src
/
test
/
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
(||
{});
}