Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
impl-trait
/
issue-99073.rs
blob: b4ef3e66f964a44ff7e938d503f5b4aa022b8d61 [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
let
_
=
fix
(|
_
:
&
dyn
Fn
()|
{});
}
fn
fix
<
F
:
Fn
(
G
),
G
:
Fn
()>(
f
:
F
)
->
impl
Fn
()
{
move
||
f
(
fix
(&
f
))
//~^ ERROR concrete type differs from previous defining opaque type use
//~| ERROR expected generic type parameter, found `&F`
}