summaryrefslogtreecommitdiffstats
path: root/tests/ui/generic-associated-types/issue-101020.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generic-associated-types/issue-101020.stderr')
-rw-r--r--tests/ui/generic-associated-types/issue-101020.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/generic-associated-types/issue-101020.stderr b/tests/ui/generic-associated-types/issue-101020.stderr
index 5c8db617c..91967fb85 100644
--- a/tests/ui/generic-associated-types/issue-101020.stderr
+++ b/tests/ui/generic-associated-types/issue-101020.stderr
@@ -4,6 +4,11 @@ error[E0277]: the trait bound `for<'a> &'a mut (): Foo<&'a mut ()>` is not satis
LL | (&mut EmptyIter).consume(());
| ^^^^^^^ the trait `for<'a> Foo<&'a mut ()>` is not implemented for `&'a mut ()`
|
+help: this trait has no implementations, consider adding one
+ --> $DIR/issue-101020.rs:28:1
+ |
+LL | trait Foo<T> {}
+ | ^^^^^^^^^^^^
note: required for `&'a mut ()` to implement `for<'a> FuncInput<'a, &'a mut ()>`
--> $DIR/issue-101020.rs:27:20
|