Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
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
()
{}