Add test for issue-68653

This commit is contained in:
Yuki Okushi 2020-02-16 02:55:03 +09:00
parent 426dcf0da0
commit 9478503315

View File

@ -0,0 +1,16 @@
// A regression test for #68653, which was fixed by #68938.
// check-pass
#![allow(incomplete_features)]
#![feature(generic_associated_types)]
trait Fun {
type F<'a: 'a>;
}
impl <T> Fun for T {
type F<'a> = Self;
}
fn main() {}