44d6439bfd
Extend invalid_atomic_ordering for compare_exchange{,_weak} and fetch_update changelog: The invalid_atomic_ordering lint can now detect misuse of `compare_exchange`, `compare_exchange_weak`, and `fetch_update`. --- I was surprised not to find an issue or existing support here, since these are the functions which are always hardest to get the ordering right on for me (as the allowed orderings for `fail` depend on the `success` parameter). I believe this lint now covers all atomic methods which care about their ordering now, but I could be wrong. Hopefully I didn't forget to do anything for the PR! |
||
---|---|---|
.. | ||
lintlist | ||
driver.rs | ||
main.rs |