Open
Description
The user might not be interested in all fixes. If we allowed prompting the user for what diffs to apply (see also #6040 for generating diffs), they could then select only the ones that they want.
This could include
- Showing suggestions for all fixes, not just the ones with high confidence (cargo fix --interactive #11125, cargo fix: tell user why some fixes aren't applied (such as maybe-incorrect) #8806,
cargo fix
: Improve handling of MaybeIncorrect suggestions #13028) - Apply-all, ignore-all for suggestion type or lint name (
cargo fix
: Allow filtering by lint #13029) - Support fixing broken code (
cargo fix
should suggest--broken-code
#15063)
See also #6040