Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-31511.rs
blob: 53fecb01663515ce00b8c44f8ba99e00371fe1e0 [
file
] [
log
] [
blame
]
fn
cast_thin_to_fat
(
x
:
*
const
())
{
x
as
*
const
[
u8
];
//~^ ERROR: cannot cast thin pointer `*const ()` to fat pointer `*const [u8]`
}
fn
main
()
{}