Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
closures
/
issue-41366.rs
blob: e2141c0dc1365c65b2ec2426f14c332fc5d0de48 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
trait
T
<
'
x
>
{
type
V
;
}
impl
<
'g> T<'
g
>
for
u32
{
type
V
=
u16
;
}
fn
main
()
{
(&|
_
|
())
as
&
dyn
for
<
'x> Fn(<u32 as T<'
x
>>::
V
);
}