1 error[E0308]: mismatched types
2 --> $DIR/issue-7092.rs:16:9
5 | ^^^^^^^^^^^ expected enum `Whatever`, found enum `std::option::Option`
7 = note: expected type `Whatever`
8 found type `std::option::Option<_>`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.