Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
functions-closures
/
fn-bare-coerce-to-block.rs
blob: 922e016ddc808a2bd0e3390bc0aa530871d90b9e [
file
] [
log
] [
blame
]
// run-pass
// pretty-expanded FIXME #23616
fn
bare
()
{}
fn
likes_block
<
F
>(
f
:
F
)
where F
:
FnOnce
()
{
f
()
}
pub
fn
main
()
{
likes_block
(
bare
);
}