diff options
Diffstat (limited to 'tests/ui/associated-type-bounds/ambiguous-associated-type2.rs')
-rw-r--r-- | tests/ui/associated-type-bounds/ambiguous-associated-type2.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/associated-type-bounds/ambiguous-associated-type2.rs b/tests/ui/associated-type-bounds/ambiguous-associated-type2.rs index 48de59334..e9cd57f17 100644 --- a/tests/ui/associated-type-bounds/ambiguous-associated-type2.rs +++ b/tests/ui/associated-type-bounds/ambiguous-associated-type2.rs @@ -7,4 +7,6 @@ trait Bar<T> { trait Baz: Foo + Bar<Self::Item> {} //~^ ERROR cycle detected when computing the super traits of `Baz` with associated type name `Item` [E0391] + + fn main() {} |