Sign in
fuchsia
/
third_party
/
rust
/
57e8fc56852e7728d7160242bf13c3ab6e066bd8
/
.
/
src
/
test
/
ui
/
static
/
static-mut-not-constant.rs
blob: 84d401c9fa61df2d7b718119bc3cc11a1af5f2f6 [
file
] [
log
] [
blame
]
#![
feature
(
box_syntax
)]
static
mut
a
:
Box
<
isize
>
=
box
3
;
//~^ ERROR allocations are not allowed in statics
//~| ERROR static contains unimplemented expression type
fn
main
()
{}