summaryrefslogtreecommitdiffstats
path: root/third_party/rust/async-trait/tests/ui/missing-body.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/async-trait/tests/ui/missing-body.stderr')
-rw-r--r--third_party/rust/async-trait/tests/ui/missing-body.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/rust/async-trait/tests/ui/missing-body.stderr b/third_party/rust/async-trait/tests/ui/missing-body.stderr
new file mode 100644
index 0000000000..e6ddb425f9
--- /dev/null
+++ b/third_party/rust/async-trait/tests/ui/missing-body.stderr
@@ -0,0 +1,7 @@
+error: associated function in `impl` without body
+ --> tests/ui/missing-body.rs:12:5
+ |
+12 | async fn f(&self);
+ | ^^^^^^^^^^^^^^^^^-
+ | |
+ | help: provide a definition for the function: `{ <body> }`