summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/in-trait/return-type-suggestion.stderr
blob: 363870619f05d7601b0af9ce3444683b29234f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0308]: mismatched types
  --> $DIR/return-type-suggestion.rs:6:9
   |
LL |         Ok(())
   |         ^^^^^^ 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`.