]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/fully-qualified-type-name1.rs:5:9 |
b7449926 XL |
3 | | |
4 | LL | x = 5; | |
5 | | ^ | |
6 | | | | |
1b1a35ee | 7 | | expected enum `Option`, found integer |
e74abb32 | 8 | | help: try using a variant of the expected enum: `Some(5)` |
b7449926 | 9 | | |
1b1a35ee | 10 | = note: expected enum `Option<usize>` |
b7449926 XL |
11 | found type `{integer}` |
12 | ||
13 | error: aborting due to previous error | |
14 | ||
15 | For more information about this error, try `rustc --explain E0308`. |