summaryrefslogtreecommitdiffstats
path: root/tests/ui/where-clauses/higher-ranked-fn-type.quiet.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/where-clauses/higher-ranked-fn-type.quiet.stderr')
-rw-r--r--tests/ui/where-clauses/higher-ranked-fn-type.quiet.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/where-clauses/higher-ranked-fn-type.quiet.stderr b/tests/ui/where-clauses/higher-ranked-fn-type.quiet.stderr
index 191a8ca8e..29b36f44a 100644
--- a/tests/ui/where-clauses/higher-ranked-fn-type.quiet.stderr
+++ b/tests/ui/where-clauses/higher-ranked-fn-type.quiet.stderr
@@ -4,6 +4,11 @@ error[E0277]: the trait bound `for<'b> fn(&'b ()): Foo` is not satisfied
LL | called()
| ^^^^^^ the trait `for<'b> Foo` is not implemented for `fn(&'b ())`
|
+help: this trait has no implementations, consider adding one
+ --> $DIR/higher-ranked-fn-type.rs:6:1
+ |
+LL | trait Foo {
+ | ^^^^^^^^^
note: required by a bound in `called`
--> $DIR/higher-ranked-fn-type.rs:12:25
|