summaryrefslogtreecommitdiff
path: root/tests/ui/async-await/in-trait/return-type-suggestion.next.stderr
blob: 6a107d7beb8fd67bc74267875314d579cf14f948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0308]: mismatched types
  --> $DIR/return-type-suggestion.rs:9:9
   |
LL |         Ok(())
   |         ^^^^^^- help: consider using a semicolon here: `;`
   |         |
   |         expected `()`, found `Result<(), _>`
   |
   = note: expected unit type `()`
                   found enum `Result<(), _>`

error: aborting due to previous error

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