Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-57399-self-return-impl-trait.rs
blob: c7fe40e7b506c0844de58064cd7ed7812b08946e [
file
] [
log
] [
blame
]
// check-pass
trait
T
{
type
T
;
}
impl
T
for
i32
{
type
T
=
u32
;
}
struct
S
<
A
>
{
a
:
A
,
}
impl
From
<
u32
>
for
S
<<
i32
as
T
>::
T
>
{
fn
from
(
a
:
u32
)
->
Self
{
Self
{
a
}
}
}
fn
main
()
{}