]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-cast-wrong-type.stderr
Rollup merge of #64603 - gilescope:unused-lifetime-warning, r=matthewjasper
[rust.git] / src / test / ui / consts / const-cast-wrong-type.stderr
1 error[E0308]: mismatched types
2   --> $DIR/const-cast-wrong-type.rs:2:23
3    |
4 LL | static b: *const i8 = &a as *const i8;
5    |                       ^^^^^^^^^^^^^^^ expected u8, found i8
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0308`.