rust/tests
bors 5e584d25ef Auto merge of #2252 - dtolnay-contrib:rustfmt5, r=oli-obk
Format tests with rustfmt (225-275 of 300)

Extracted from #2097.

These cases all involve a line comment at the end of a block that rustfmt has chosen to wrap.

```diff
- unsafe { (*ptr).set(20); } //~ ERROR does not exist in the borrow stack
+ unsafe {
+     (*ptr).set(20);
+ } //~ ERROR does not exist in the borrow stack
```

I have moved all of those comments back onto the same line as the content of the block instead, as was indicated being `@RalfJung's` preference in https://github.com/rust-lang/miri/pull/2097#discussion_r862436672.

```diff
+ unsafe {
+     (*ptr).set(20); //~ ERROR does not exist in the borrow stack
+ }
```
2022-06-22 09:04:44 +00:00
..
fail Auto merge of #2252 - dtolnay-contrib:rustfmt5, r=oli-obk 2022-06-22 09:04:44 +00:00
panic Format tests with rustfmt (151-200 of 300) 2022-06-20 23:50:40 -07:00
pass Manual adjustments 2022-06-21 23:21:12 -07:00
compiletest.rs Auto merge of #2179 - RalfJung:rustc, r=oli-obk 2022-06-13 13:13:29 +00:00