]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-19129-1.rs
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[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() {}