diff options
| author | bors <bors@rust-lang.org> | 2025-04-28 05:12:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-04-28 05:12:59 +0000 |
| commit | 0134651fb81314870903e21b1bcbdd993d75b61a (patch) | |
| tree | b912264968f9c6956b72422437f29c9dae64b14d /compiler/rustc_lint/messages.ftl | |
| parent | 21079f53a359d9fc82668d4175d49dafdb600563 (diff) | |
| parent | df3dd876c95f4dcf83a80c33fe9b5a59df78de45 (diff) | |
| download | rust-0134651fb81314870903e21b1bcbdd993d75b61a.tar.gz rust-0134651fb81314870903e21b1bcbdd993d75b61a.zip | |
Auto merge of #136316 - GrigorenkoPV:generic_atomic, r=Mark-Simulacrum
Create `Atomic<T>` type alias (rebase) Rebase of #130543. Additional changes: - Switch from `allow` to `expect` for `private_bounds` on `AtomicPrimitive` - Unhide `AtomicPrimitive::AtomicInner` from docs, because rustdoc shows the definition `pub type Atomic<T> = <T as AtomicPrimitive>::AtomicInner;` and generated links for it. - `NonZero` did not have this issue, because they kept the new alias private before the direction was changed. - Use `Atomic<_>` in more places, including inside `Once`'s `Futex`. This is possible thanks to https://github.com/rust-lang/rust-clippy/pull/14125 The rest will either get moved back to #130543 or #130543 will be closed in favor of this instead. --- * ACP: https://github.com/rust-lang/libs-team/issues/443#event-14293381061 * Tracking issue: #130539
Diffstat (limited to 'compiler/rustc_lint/messages.ftl')
0 files changed, 0 insertions, 0 deletions
