mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-04 18:40:18 +00:00
7f30dafa9b
Replacing an empty span (which an empty line is) with an empty string triggers a debug assertion in rustc. This fixes the debug assertion by using contiguous spans, with the same resulting suggestion. |
||
---|---|---|
.. | ||
doc_comments.1.fixed | ||
doc_comments.2.fixed | ||
doc_comments.rs | ||
doc_comments.stderr | ||
outer_attribute.1.fixed | ||
outer_attribute.2.fixed | ||
outer_attribute.rs | ||
outer_attribute.stderr |