1 2 3 4 5 6
fn foo(_x: u32) { _x = 4; //~^ ERROR cannot assign to immutable argument `_x` } fn main() {}