blob: 4d44d893a86d9a20a818dc0cb3c056ac2de1e3e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0308]: mismatched types
--> $DIR/mismatched-types-numeric-from.rs:2:18
|
LL | let _: u32 = i32::from(0_u8);
| --- ^^^^^^^^^^^^^^^ expected `u32`, found `i32`
| |
| expected due to this
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
|