Add test for issue-68653
This commit is contained in:
parent
426dcf0da0
commit
9478503315
16
src/test/ui/generic-associated-types/issue-68653.rs
Normal file
16
src/test/ui/generic-associated-types/issue-68653.rs
Normal 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() {}
|
Loading…
Reference in New Issue
Block a user