Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
consts
/
const-cast-wrong-type.rs
blob: c250cc53dbc2b07dd73eb7b35be00de060b90748 [
file
] [
log
] [
blame
]
static
a
:
[
u8
;
3
]
=
[
'h'
as
u8
,
'i'
as
u8
,
0
as
u8
];
static
b
:
*
const
i8
=
&
a
as
*
const
i8
;
//~ ERROR mismatched types
fn
main
()
{
}