Sign in
android
/
toolchain
/
rustc
/
refs/heads/rust-1.73.0
/
.
/
tests
/
ui
/
associated-type-bounds
/
ambiguous-associated-type2.rs
blob: e9cd57f173979f114e10aa8e9215e1da6fd7dcea [
file
] [
log
] [
blame
]
trait
Foo
{
type
Item
;
}
trait
Bar
<
T
>
{
type
Item
;
}
trait
Baz
:
Foo
+
Bar
<
Self
::
Item
>
{}
//~^ ERROR cycle detected when computing the super traits of `Baz` with associated type name `Item` [E0391]
fn
main
()
{}