rustfix icon indicating copy to clipboard operation
rustfix copied to clipboard

rustfix should handle multi-span suggestions

Open zackmdavis opened this issue 6 years ago • 2 comments

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.

zackmdavis avatar Aug 12 '18 04:08 zackmdavis

CC https://github.com/rust-lang/rust/pull/56220

estebank avatar Nov 28 '18 23:11 estebank

Fixed by #155

pietroalbini avatar Dec 09 '18 18:12 pietroalbini