summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/issue-68523.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/async-await/issue-68523.stderr')
-rw-r--r--tests/ui/async-await/issue-68523.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/async-await/issue-68523.stderr b/tests/ui/async-await/issue-68523.stderr
new file mode 100644
index 000000000..dfdf078e3
--- /dev/null
+++ b/tests/ui/async-await/issue-68523.stderr
@@ -0,0 +1,9 @@
+error[E0752]: `main` function is not allowed to be `async`
+ --> $DIR/issue-68523.rs:3:1
+ |
+LL | async fn main() -> Result<i32, ()> {
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0752`.