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