Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
closures
/
issue-68025.rs
blob: 912fe5ecc5f4946375e33f2e9b6753cdc78e48b9 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
fn
foo
<
F
,
G
>(
_
:
G
,
_
:
Box
<
F
>)
where
F
:
Fn
(),
G
:
Fn
(
Box
<
F
>),
{
}
fn
main
()
{
foo
(|
f
|
(*
f
)(),
Box
::
new
(||
{}));
}