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

error: aborting due to 1 previous error

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