{"ast_node_type":"function","tokens":[{"end":52,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn to_i32(self) -> InterpResult<'tcx, i32> {
    /// Converts the scalar to produce an `i32`. Fails if the scalar is a pointer.
        self.to_int(Size::from_bits(32)).map(|v| i32::try_from(v).unwrap())