Sign in
fuchsia
/
third_party
/
rust
/
4360fd7f342943b3d25a3eb7064fd3ef7599274e
/
.
/
tests
/
ui
/
issues
/
issue-3521-2.fixed
blob: 2a6e0829bc0f5eb1898862ed225a2af273de039e [
file
] [
log
] [
blame
]
//@ run-rustfix
fn main
()
{
let
foo
=
100
;
let
y
:
isize
=
foo
+
1
;
//~^ ERROR attempt to use a non-constant value in a constant
println
!(
"{}"
,
y
);
}