Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
static
/
static-mut-not-constant.rs
blob: 2091fffd418ee68c3b315e16f01b5fbb0af6954b [
file
] [
log
] [
blame
]
#![
feature
(
box_syntax
)]
static
mut
a
:
Box
<
isize
>
=
box
3
;
//~^ ERROR allocations are not allowed in statics
fn
main
()
{}