Sign in
fuchsia
/
third_party
/
rust
/
5a2fceefd312ec027bdeaa89ebefbe4c33d94de1
/
.
/
tests
/
ui
/
issues
/
issue-3521-2.fixed
blob: 2a6e0829bc0f5eb1898862ed225a2af273de039e [
file
]
//@ 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
);
}