about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2020-11-20 11:24:21 -0300
committerSantiago Pastorino <spastorino@gmail.com>2020-11-27 11:23:48 -0300
commitf76d6e013937872e7cbcce0dd57dc4bc25de9220 (patch)
treebf2f7dc43b01bc41b38f183f71838fac81a063f0
parenta6d2235de12b09cdcbeb23db4a164e559fe44483 (diff)
downloadrust-f76d6e013937872e7cbcce0dd57dc4bc25de9220.tar.gz
rust-f76d6e013937872e7cbcce0dd57dc4bc25de9220.zip
Add description on test
-rw-r--r--src/test/ui/associated-type-bounds/super-trait-referencing.rs4
1 files changed, 4 insertions, 0 deletions
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 fde6b91e6c4..2e97535157f 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<T::Item>
+// in the where clause does not cycle
+
 trait Foo {
     type Item;
 }