summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binop/issue-77910-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/binop/issue-77910-2.stderr')
-rw-r--r--src/test/ui/binop/issue-77910-2.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/binop/issue-77910-2.stderr b/src/test/ui/binop/issue-77910-2.stderr
index 5477a5762..a334bd856 100644
--- a/src/test/ui/binop/issue-77910-2.stderr
+++ b/src/test/ui/binop/issue-77910-2.stderr
@@ -5,6 +5,11 @@ LL | if foo == y {}
| --- ^^ - _
| |
| for<'r> fn(&'r i32) -> &'r i32 {foo}
+ |
+help: use parentheses to call this function
+ |
+LL | if foo(/* &i32 */) == y {}
+ | ++++++++++++
error: aborting due to previous error