rust/library/core/src/ptr
Nicholas Nethercote f1b0ca08a4 Don't format tests/run-make/*/rmake.rs.
It's reasonable to want to, but in the current implementation this
causes multiple problems.

- All the `rmake.rs` files are formatted every time even when they
  haven't changed. This is because they get whitelisted unconditionally
  in the `OverrideBuilder`, before the changed files get added.

- The way `OverrideBuilder` works, if any files gets whitelisted then no
  unmentioned files will get traversed. This is surprising, and means
  that the `rmake.rs` entries broke the use of explicit paths to `x
  fmt`, and also broke `GITHUB_ACTIONS=true git check --fmt`.

The commit removes the `rmake.rs` entries, fixes the formatting of a
couple of files that were misformatted (not previously caught due to the
`GITHUB_ACTIONS` breakage), and bans `!`-prefixed entries in
`rustfmt.toml` because they cause all these problems.
2024-05-28 19:28:46 +10:00
..
alignment.rs Import the 2021 prelude in the core crate 2024-03-25 13:12:06 -07:00
const_ptr.rs Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methods 2024-05-23 21:02:31 -04:00
metadata.rs Don't format tests/run-make/*/rmake.rs. 2024-05-28 19:28:46 +10:00
mod.rs Auto merge of #117329 - RalfJung:offset-by-zero, r=oli-obk,scottmcm 2024-05-22 13:04:14 +00:00
mut_ptr.rs Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methods 2024-05-23 21:02:31 -04:00
non_null.rs Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methods 2024-05-23 21:02:31 -04:00
unique.rs Add and use Unique::as_non_null_ptr 2024-02-08 19:56:30 -05:00