From f76d6e013937872e7cbcce0dd57dc4bc25de9220 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Fri, 20 Nov 2020 11:24:21 -0300 Subject: [PATCH] Add description on test --- src/test/ui/associated-type-bounds/super-trait-referencing.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/ui/associated-type-bounds/super-trait-referencing.rs b/src/test/ui/associated-type-bounds/super-trait-referencing.rs index fde6b91e6c4e..2e97535157fd 100644 --- a/src/test/ui/associated-type-bounds/super-trait-referencing.rs +++ b/src/test/ui/associated-type-bounds/super-trait-referencing.rs @@ -1,4 +1,8 @@ // check-pass + +// The goal of this test is to ensure that T: Bar +// in the where clause does not cycle + trait Foo { type Item; }