49366abfb0
Replace unneeded use of `ref` in favor of "match ergonomics" The signature of `check_shim` is very amenable to this. ```rust fn check_shim<'a, const N: usize>(…) -> InterpResult<'tcx, &'a [OpTy<'tcx, Tag>; N]> ``` Instead of: ```rust let &[ref ptr, ref flags] = this.check_shim(…)?; ``` we can write it just as: ```rust let [ptr, flags] = this.check_shim(…)?; ```