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