{"ast_node_type":"function","tokens":[{"end":96,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn write_scalar(&mut self, range: AllocRange, val: Scalar<Prov>) -> InterpResult<'tcx> {
    /// `range` is relative to this allocation reference, not the base of the allocation.
        let range = self.range.subrange(range);