This repository was archived by the owner on Nov 24, 2023. It is now read-only.
This repository was archived by the owner on Nov 24, 2023. It is now read-only.
Detect overlapping fixes and identical fixes #57
Closed
Description
If two fixes occur in the same area of text, rustfix will apply both and it will clash.
- Worth having an explicit message that this is happening Custom warning when rustfix replacing fails #94
- and perhaps a mode between
--yolo
and normal mode that yolo-applies everything except when there's a clash (aside from the first fix). Custom warning when rustfix replacing fails #94 - Also, ignoring duplicate fixups (e.g. when a macro causes a lint -- it ends up with tons of identical replacements) would be nice.