Skip to content

Commit b02a905

Browse files
committed
Add test to check that we handle predicates that can define assoc types correctly
1 parent 67ea9b2 commit b02a905

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// check-pass
2+
3+
trait Foo<T> {}
4+
trait Bar {
5+
type A;
6+
type B;
7+
}
8+
trait Baz: Bar<B = u32> + Foo<Self::A> {}
9+
10+
fn main() {}

0 commit comments

Comments
 (0)