blob: 93024b1f0b11fda506b14eb6915193570bdefee4 (
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 1 previous error
For more information about this error, try `rustc --explain E0308`.
|