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