test: add test for #4322

This commit is contained in:
Eric 2021-08-30 21:17:43 +12:00 committed by Caleb Cartwright
parent bfc60466bd
commit ae5696a7c4
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,3 @@
trait Bar {
type X<'a> where Self: 'a;
}

View File

@ -0,0 +1,5 @@
trait Bar {
type X<'a>
where
Self: 'a;
}