Add test to check that we handle predicates that can define assoc types correctly
This commit is contained in:
parent
67ea9b227f
commit
b02a905d93
1 changed files with 10 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
// check-pass
|
||||
|
||||
trait Foo<T> {}
|
||||
trait Bar {
|
||||
type A;
|
||||
type B;
|
||||
}
|
||||
trait Baz: Bar<B = u32> + Foo<Self::A> {}
|
||||
|
||||
fn main() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue