summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/suggest-ret-on-async-w-late.stderr
blob: bff864b222bff9394fae69ed5bf277cc8ab890b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0308]: mismatched types
  --> $DIR/suggest-ret-on-async-w-late.rs:7:5
   |
LL | async fn ice(_: &i32) {
   |                       - help: try adding a return type: `-> bool`
LL |     true
   |     ^^^^ expected `()`, found `bool`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.