mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-16 05:58:41 +00:00
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 |