Sign in
◑
Theme
rust
/
rust
/
dc0ec741a8a06b0c3bb5596fbb00a4e29fad3877
/
.
/
tests
/
ui
/
associated-types
/
issue-19129-1.rs
blob: e4d8082c05a7025e9bc6a866d22e01bb8b45b146 [
file
]
//@ check-pass
trait
Trait
<
Input
>
{
type
Output
;
fn
method
()
->
<
Self
as
Trait
<
Input
>>::
Output
;
}
impl
<
T
>
Trait
<
T
>
for
()
{
type
Output
=
();
fn
method
()
{}
}
fn
main
()
{}