use std::cell::Cell; pub fn foo() { let a: Cell = Cell::new(1); a.set(123); }