Investigate removing need_backline
from rustdoc::clean::DocFragment
#92084
Labels
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
I-compilemem
Issue: Problems and improvements with respect to memory usage during compilation.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I expected this change to work:
But it causes
source_span_for_markdown_range
to panic:Backtrace
I don't have time to look into it right now, but I wouldn't expect it to be too hard to fix and it would reduce the memory usage of rustdoc by quite a lot. I'd suggest starting by adding a bunch of assertions that the old and new behavior of
collapsed_doc_value
is the same and investigating the assertion failures.The text was updated successfully, but these errors were encountered: