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 LL | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
15 error[E0308]: mismatched types
16 --> $DIR/issue-87461.rs:17:8
19 | -- ^^ expected `u16`, found `()`
21 | arguments to this enum variant are incorrect
23 note: tuple variant defined here
24 --> $SRC_DIR/core/src/result.rs:LL:COL
26 LL | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
29 error[E0308]: mismatched types
30 --> $DIR/issue-87461.rs:26:12
33 | -- ^^ expected `u16`, found `()`
35 | arguments to this enum variant are incorrect
37 note: tuple variant defined here
38 --> $SRC_DIR/core/src/result.rs:LL:COL
40 LL | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
43 error: aborting due to 3 previous errors
45 For more information about this error, try `rustc --explain E0308`.