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