Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
issues
/
issue-3521.rs
blob: 9e72dd29a408ecd490044c2d20d1b6e5f01e71a9 [
file
] [
log
] [
blame
]
fn
main
()
{
let
foo
=
100
;
#[
derive
(
Debug
)]
enum
Stuff
{
Bar
=
foo
//~^ ERROR attempt to use a non-constant value in a constant
}
println
!(
"{:?}"
,
Stuff
::
Bar
);
}