Sign in
android
/
toolchain
/
rustc
/
89a0a0cd9cbd0a0138a09bd877bbc73859a8c330
/
.
/
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
}];
}