2023-03-17 03:14:27 +00:00
|
|
|
error[E0308]: mismatched types
|
2023-09-30 19:29:41 +00:00
|
|
|
--> $DIR/suggest-ret-on-async-w-late.rs:10:5
|
2023-03-17 03:14:27 +00:00
|
|
|
|
|
|
|
|
LL | async fn ice(_: &i32) {
|
2023-09-30 19:29:41 +00:00
|
|
|
| - help: try adding a return type: `-> bool`
|
2023-03-17 03:14:27 +00:00
|
|
|
LL | true
|
|
|
|
| ^^^^ expected `()`, found `bool`
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2023-03-17 03:14:27 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|