// 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, } impl From for S<::T> { fn from(a: u32) -> Self { Self { a } } } fn main() {}