mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-07 23:47:39 +00:00
![]() Detect usage of invalid atomic ordering in memory fences Detect usage of `core::sync::atomic::{fence, compiler_fence}` with `Ordering::Relaxed` and suggest valid alternatives. changelog: Extend `invalid_atomic_ordering` to lint memory fences Fixes #5026 |
||
---|---|---|
.. | ||
lintlist | ||
driver.rs | ||
main.rs |