Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
associated-types
/
impl-trait-member-type-resolution-57399.rs
blob: 3342dd0631a511878bcc70c4cff816cec4f27369 [
file
] [
log
] [
blame
]
// https://github.com/rust-lang/rust/issues/57399
//@ 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
()
{}