1 error[E0308]: mismatched types
2 --> $DIR/const-cast-wrong-type.rs:2:23
4 LL | static b: *const i8 = &a as *const i8;
5 | ^^^^^^^^^^^^^^^ expected `u8`, found `i8`
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0308`.