Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-3521-2.rs
blob: 871394f9eaeb96147d2b1144a3cad6988c91d9da [
file
] [
log
] [
blame
]
fn
main
()
{
let
foo
=
100
;
static
y
:
isize
=
foo
+
1
;
//~^ ERROR attempt to use a non-constant value in a constant
println
!(
"{}"
,
y
);
}