Extend invalid_atomic_ordering
lint to memory fence calls
#5026
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
L-correctness
Lint: Belongs in the correctness lint group
core::sync::atomic::{fence, compiler_fence}
functions will panic when called withRelaxed
ordering so we should lint such calls under theinvalid_atomic_ordering
lint. I can start working on this issue if nobody has any objections.The text was updated successfully, but these errors were encountered: