Skip to content

Commit 9478503

Browse files
committed
Add test for issue-68653
1 parent 426dcf0 commit 9478503

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// A regression test for #68653, which was fixed by #68938.
2+
3+
// check-pass
4+
5+
#![allow(incomplete_features)]
6+
#![feature(generic_associated_types)]
7+
8+
trait Fun {
9+
type F<'a: 'a>;
10+
}
11+
12+
impl <T> Fun for T {
13+
type F<'a> = Self;
14+
}
15+
16+
fn main() {}

0 commit comments

Comments
 (0)