]>
Commit | Line | Data |
---|---|---|
5869c6ff | 1 | error[E0308]: mismatched types |
923072b8 | 2 | --> $DIR/meta-expected-error-wrong-rev.rs:13:18 |
5869c6ff XL |
3 | | |
4 | LL | let x: u32 = 22_usize; | |
5 | | --- ^^^^^^^^ expected `u32`, found `usize` | |
6 | | | | |
7 | | expected due to this | |
8 | | | |
9 | help: change the type of the numeric literal from `usize` to `u32` | |
10 | | | |
11 | LL | let x: u32 = 22_u32; | |
c295e0f8 | 12 | | ~~~ |
5869c6ff XL |
13 | |
14 | error: aborting due to previous error | |
15 | ||
16 | For more information about this error, try `rustc --explain E0308`. |