1 2 3 4 5 6 7 8 9 10 11
// check-pass // compile-flags: -Z trait-solver=chalk trait Bar { } trait Foo<S, T: ?Sized> { type Assoc: Bar + ?Sized; } fn main() { }