5e584d25ef
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 + } ``` |
||
---|---|---|
.. | ||
fail | ||
panic | ||
pass | ||
compiletest.rs |