]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0604.stderr
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
[rust.git] / src / test / ui / error-codes / E0604.stderr
1 error[E0604]: only `u8` can be cast as `char`, not `u32`
2   --> $DIR/E0604.rs:2:5
3    |
4 LL |     1u32 as char;
5    |     ^^^^^^^^^^^^ invalid cast
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0604`.