Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
consts
/
const-cast-different-types.rs
blob: 3bd5ed8f8c924099e2906f18c8ea735441bb3d32 [
file
] [
log
] [
blame
]
static
a
:
&
'
static
str
=
"foo"
;
static
b
:
*
const
u8
=
a
as
*
const
u8
;
//~ ERROR casting
static
c
:
*
const
u8
=
&
a
as
*
const
u8
;
//~ ERROR casting
fn
main
()
{
}