Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
consts
/
const-eval
/
issue-52475.rs
blob: ce65407bbab0b5d928795c8b4fdc82297aac8625 [
file
] [
log
] [
blame
]
fn
main
()
{
let
_
=
[();
{
let
mut
x
=
&
0
;
let
mut
n
=
0
;
while
n
<
5
{
n
=
(
n
+
1
)
%
5
;
//~ ERROR evaluation of constant value failed
x
=
&
0
;
// Materialize a new AllocId
}
0
}];
}