summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/issue-106929.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/typeck/issue-106929.stderr')
-rw-r--r--tests/ui/typeck/issue-106929.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/typeck/issue-106929.stderr b/tests/ui/typeck/issue-106929.stderr
new file mode 100644
index 000000000..f744e5a41
--- /dev/null
+++ b/tests/ui/typeck/issue-106929.stderr
@@ -0,0 +1,15 @@
+error[E0425]: cannot find function `post` in this scope
+ --> $DIR/issue-106929.rs:9:5
+ |
+LL | post(c, ());
+ | ^^^^ not found in this scope
+ |
+help: use the `.` operator to call the method `post` on `&Client`
+ |
+LL - post(c, ());
+LL + c.post(());
+ |
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0425`.