Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for issue-68653
  • Loading branch information
JohnTitor committed Feb 15, 2020
1 parent 426dcf0 commit 9478503
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/test/ui/generic-associated-types/issue-68653.rs
@@ -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() {}

0 comments on commit 9478503

Please sign in to comment.