We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbad31d commit 406719bCopy full SHA for 406719b
src/librustc_error_codes/error_codes/E0752.md
@@ -8,9 +8,9 @@ async fn main() -> Result<i32, ()> { // error!
8
}
9
```
10
11
-`fn main()` or the specified start function is not allowed to be `async`. You
12
-might be seeing this error because your async runtime library is not set up
13
-correctly. To fix it, don't declare the entry point as `async`:
+`fn main()` or the specified start function is not allowed to be `async`. Not
+having a correct async runtime library setup may cause this error. To fix it,
+declare the entry point without `async`:
14
15
16
fn main() -> Result<i32, ()> { // ok!
0 commit comments