1error[E0308]: mismatched types
2  --> $DIR/issue-87461.rs:10:8
3   |
4LL |     Ok(())
5   |        ^^ expected `u16`, found `()`
6
7error[E0308]: mismatched types
8  --> $DIR/issue-87461.rs:17:8
9   |
10LL |     Ok(())
11   |        ^^ expected `u16`, found `()`
12
13error[E0308]: mismatched types
14  --> $DIR/issue-87461.rs:26:12
15   |
16LL |         Ok(())
17   |            ^^ expected `u16`, found `()`
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0308`.
22