Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
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
}];
}