blob: 4a405bd3625c128c6b69c8bac1c41c8332f8ae85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// check-pass
#![feature(generic_associated_types)]
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() {}
|