multiple_unsafe_ops_per_block should not warn external macros #10259
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Summary
multiple_unsafe_ops_per_block currently warns of unsafe code generated by external macros, but it should not. (there is no way for the user to fix it.)
Mentioning @Niki4tap who implemented this lint in #10206.
Lint Name
multiple_unsafe_ops_per_block
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen: no warnings
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: