rust/tests
bors 49366abfb0 Auto merge of #2095 - dtolnay-contrib:ref, r=RalfJung
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(…)?;
```
2022-05-01 06:34:32 +00:00
..
compile-fail Clean up all trailing whitespace 2022-04-30 10:40:35 -07:00
run-pass Auto merge of #2095 - dtolnay-contrib:ref, r=RalfJung 2022-05-01 06:34:32 +00:00
compiletest.rs Use harness = false instead of #![feature(custom_test_frameworks)] 2021-05-01 22:28:33 +08:00