summaryrefslogtreecommitdiffstats
path: root/tests/ui/static/static-mut-not-constant.rs
blob: d501e5c295657bfdf78b715687cd71df8a79e65f (plain)
1
2
3
4
static mut a: Box<isize> = Box::new(3);
//~^ ERROR cannot call non-const fn

fn main() {}