]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-type-bounds/ambiguous-associated-type2.rs
Auto merge of #103894 - mati865:gnullvm-libunwind-changes, r=thomcc
[rust.git] / src / test / ui / associated-type-bounds / ambiguous-associated-type2.rs
1 trait Foo {
2     type Item;
3 }
4 trait Bar<T> {
5     type Item;
6 }
7 trait Baz: Foo + Bar<Self::Item> {}
8 //~^ ERROR cycle detected when computing the super traits of `Baz` with associated type name `Item` [E0391]
9
10 fn main() {}