summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/issue-64855.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/associated-types/issue-64855.stderr')
-rw-r--r--src/test/ui/associated-types/issue-64855.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/associated-types/issue-64855.stderr b/src/test/ui/associated-types/issue-64855.stderr
new file mode 100644
index 000000000..6ad795c11
--- /dev/null
+++ b/src/test/ui/associated-types/issue-64855.stderr
@@ -0,0 +1,9 @@
+error[E0277]: the trait bound `Bar<T>: Foo` is not satisfied
+ --> $DIR/issue-64855.rs:5:19
+ |
+LL | pub struct Bar<T>(<Self as Foo>::Type) where Self: ;
+ | ^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `Bar<T>`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0277`.