1
Fork 0
rust/tests/ui/error-codes/E0594.rs

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

6 lines
106 B
Rust
Raw Normal View History

static NUM: i32 = 18;
fn main() {
NUM = 20; //~ ERROR cannot assign to immutable static item `NUM`
}