]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-19129-1.rs
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[rust.git] / src / test / ui / issues / issue-19129-1.rs
1 // check-pass
2 // pretty-expanded FIXME #23616
3
4 trait Trait<Input> {
5     type Output;
6
7     fn method() -> <Self as Trait<Input>>::Output;
8 }
9
10 impl<T> Trait<T> for () {
11     type Output = ();
12
13     fn method() {}
14 }
15
16 fn main() {}