Sign in
fuchsia
/
third_party
/
rust
/
03222c037142e915e9ea75f681ab98a5a46b8739
/
.
/
src
/
test
/
ui
/
consts
/
const-eval
/
issue-52442.rs
blob: d820c7051612456a128f108dfcdc0aeaa26b00eb [
file
] [
log
] [
blame
]
fn
main
()
{
[();
{
&
loop
{
break
}
as
*
const
_
as
usize
}
];
//~^ ERROR casting pointers to integers in constants is unstable
//~| ERROR `loop` is not allowed in a `const`
//~| ERROR evaluation of constant value failed
}