summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-89333.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/suggestions/issue-89333.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/suggestions/issue-89333.stderr b/tests/ui/suggestions/issue-89333.stderr
index f73f1147d..4739f11dd 100644
--- a/tests/ui/suggestions/issue-89333.stderr
+++ b/tests/ui/suggestions/issue-89333.stderr
@@ -4,6 +4,11 @@ error[E0277]: the trait bound `for<'a> &'a _: Trait` is not satisfied
LL | test(&|| 0);
| ^^^^ the trait `for<'a> Trait` is not implemented for `&'a _`
|
+help: this trait has no implementations, consider adding one
+ --> $DIR/issue-89333.rs:9:1
+ |
+LL | trait Trait {}
+ | ^^^^^^^^^^^
note: required by a bound in `test`
--> $DIR/issue-89333.rs:11:55
|