1 error[E0308]: mismatched types
2 --> $DIR/issue-87461.rs:10:8
5 | -- ^^ expected `u16`, found `()`
7 | arguments to this enum variant are incorrect
9 note: tuple variant defined here
10 --> $SRC_DIR/core/src/result.rs:LL:COL
12 error[E0308]: mismatched types
13 --> $DIR/issue-87461.rs:17:8
16 | -- ^^ expected `u16`, found `()`
18 | arguments to this enum variant are incorrect
20 note: tuple variant defined here
21 --> $SRC_DIR/core/src/result.rs:LL:COL
23 error[E0308]: mismatched types
24 --> $DIR/issue-87461.rs:26:12
27 | -- ^^ expected `u16`, found `()`
29 | arguments to this enum variant are incorrect
31 note: tuple variant defined here
32 --> $SRC_DIR/core/src/result.rs:LL:COL
34 error: aborting due to 3 previous errors
36 For more information about this error, try `rustc --explain E0308`.