Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
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
);
}