rustfix
rustfix copied to clipboard
rustfix should handle multi-span suggestions
Here:
https://github.com/rust-lang-nursery/rustfix/blob/89217428c130b62c7ddaa0734eb4ebaa33673a86/src/lib.rs#L191-L198
This issue concerns the matter of a single suggestion that happens to replace multiple spans (functionality that is not used often, but which does exist). This is not to be confused with multiple suggestions that happen to touch the same code, which (if I understand correctly while reading quickly) was what #140 was about.
I'm happy to work on this because I need it for rust-lang/rust#53013.
CC https://github.com/rust-lang/rust/pull/56220
Fixed by #155