15 lines
437 B
Plaintext
15 lines
437 B
Plaintext
error[E0308]: mismatched types
|
|
--> $DIR/issue-46112.rs:19:21
|
|
|
|
|
19 | fn main() { test(Ok(())); }
|
|
| ^^
|
|
| |
|
|
| expected enum `std::option::Option`, found ()
|
|
| help: try using a variant of the expected type: `Some(())`
|
|
|
|
|
= note: expected type `std::option::Option<()>`
|
|
found type `()`
|
|
|
|
error: aborting due to previous error
|
|
|