pub fn with_resolved<F, R>(sym: Symbol, f: F) -> Rwhere F: FnOnce(&str) -> R,
Borrow the resolved string inside a closure without allocating.