2020-04-08 14:39:02 -05:00
|
|
|
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`
|
|
|
|
|
2021-04-25 12:09:35 -05:00
|
|
|
error: aborting due to previous error
|
2020-04-08 14:39:02 -05:00
|
|
|
|
2021-04-25 12:09:35 -05:00
|
|
|
For more information about this error, try `rustc --explain E0752`.
|