]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/pattern-ident-path-generics.rs:3:9 |
b7449926 | 3 | | |
74b04a01 | 4 | LL | match Some("foo") { |
1b1a35ee | 5 | | ----------- this expression has type `Option<&str>` |
532ac7d7 | 6 | LL | None::<isize> => {} |
60c5eb7d | 7 | | ^^^^^^^^^^^^^ expected `&str`, found `isize` |
b7449926 | 8 | | |
1b1a35ee XL |
9 | = note: expected enum `Option<&str>` |
10 | found enum `Option<isize>` | |
b7449926 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0308`. |