]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/unboxed-closures-type-mismatch.rs:5:15 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | let z = f(1_usize, 2); |
60c5eb7d | 5 | | ^^^^^^^ expected `isize`, found `usize` |
e74abb32 | 6 | | |
48663c56 XL |
7 | help: change the type of the numeric literal from `usize` to `isize` |
8 | | | |
9 | LL | let z = f(1_isize, 2); | |
94222f64 | 10 | | ~~~~~~~ |
b7449926 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0308`. |