{"ast_node_type":"function","tokens":[{"end":65,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn to_scalar_int(self) -> InterpResult<'tcx, ScalarInt> {
    #[inline(always)]
        self.try_to_scalar_int().map_err(|_| err_unsup!(ReadPointerAsInt(None))).into()