blob: 8dad6a89fd05d1262984265d731d0c942b237e2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// check-pass
trait SomeTrait {}
trait OtherTrait {
type Item;
}
trait ErrorSimpleExample {
type AssociatedType: SomeTrait;
type GatBounded<T: SomeTrait>;
type ErrorMinimal: OtherTrait<Item = Self::GatBounded<Self::AssociatedType>>;
}
fn main() {}
|