rust/tests/ui/static/static-mut-not-constant.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
107 B
Rust
Raw Normal View History

static mut a: Box<isize> = Box::new(3);
2024-12-23 21:49:48 +00:00
//~^ ERROR cannot call non-const associated function
2013-06-22 01:46:34 +00:00
fn main() {}