blob: 1e84717e9259f9fe5c2e4c0ab5704be3abca19aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// A regression test for #68653, which was fixed by #68938.
// check-pass
#![feature(generic_associated_types)]
trait Fun {
type F<'a: 'a>;
}
impl <T> Fun for T {
type F<'a> = Self;
}
fn main() {}
|