Closed
Description
@killercup has rustfix, which parses suggestion output and attempts to apply it.
However, sometimes the suggestions will have fillers (_
or ...
) in them because they can't generate a snippet for that code. Or it is just not possible to generate an accurate suggestion.
We still want to generate these incomplete suggestions for human readers to manually go the last mile and apply, but JSON consumers probably should differentiate between the two.
It would be nice if the span_suggestion APIs had a bool argument (that is included in the output json) we could use to differentiate between suggestions which are programmatically applicable and those which aren't.