summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-23073.rs
blob: a0ca91336c365845e6ce8a9ca71481ae4c93e100 (plain)
1
2
3
4
5
6
7
8
9
#![feature(associated_type_defaults)]

trait Foo { type T; }
trait Bar {
    type Foo: Foo;
    type FooT = <<Self as Bar>::Foo>::T; //~ ERROR ambiguous associated type
}

fn main() {}