Closed
Description
If a lint originates in a macro, epoch lints will still emit a suggestion.
This suggestion often works, especially when the linted code comes from within the macro, entirely.
Given that these are backcompat lints we have to emit them even if the current crate cannot fix them.
I suggest stabilizing the approximate
flag on suggestions, so that rustfix can differentiate between these and provide a mode where it fixes everything but prompts for these. Either that, or we don't emit suggestions at all in these cases.
https://github.com/killercup/rustfix/issues/57 tracks a bug in rustfix that occurs for macros where duplicate suggestions apply to the same place.