]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/issue-3680.rs:3:9 |
8faf50e0 | 3 | | |
0731742a | 4 | LL | match None { |
1b1a35ee | 5 | | ---- this expression has type `Option<_>` |
8faf50e0 | 6 | LL | Err(_) => () |
6a06907d | 7 | | ^^^^^^ expected enum `Option`, found enum `Result` |
8faf50e0 | 8 | | |
1b1a35ee | 9 | = note: expected enum `Option<_>` |
6a06907d | 10 | found enum `Result<_, _>` |
8faf50e0 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0308`. |