summaryrefslogtreecommitdiff
path: root/tests/ui/issues/issue-17033.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-17033.stderr')
-rw-r--r--tests/ui/issues/issue-17033.stderr11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/ui/issues/issue-17033.stderr b/tests/ui/issues/issue-17033.stderr
index f26bee5ff45..3419c079859 100644
--- a/tests/ui/issues/issue-17033.stderr
+++ b/tests/ui/issues/issue-17033.stderr
@@ -2,11 +2,14 @@ error[E0308]: mismatched types
--> $DIR/issue-17033.rs:2:10
|
LL | (*p)(())
- | ---- ^^
- | | |
- | | expected `&mut ()`, found `()`
- | | help: consider mutably borrowing here: `&mut ()`
+ | ---- ^^ expected `&mut ()`, found `()`
+ | |
| arguments to this function are incorrect
+ |
+help: consider mutably borrowing here
+ |
+LL | (*p)(&mut ())
+ | ++++
error: aborting due to previous error