Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-25439.rs
blob: 4f73ff3e38b9ee1d15574596e8c04a7883045fc9 [
file
] [
log
] [
blame
]
struct
Helper
<
'a, F: '
a
>(&
'
a F
);
fn
fix
<
F
>(
f
:
F
)
->
i32 where F
:
Fn
(
Helper
<
F
>,
i32
)
->
i32
{
f
(
Helper
(&
f
),
8
)
}
fn
main
()
{
fix
(|
_
,
x
|
x
);
//~ ERROR closure/generator type that references itself [E0644]
}