about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-04 01:12:24 +0000
committerbors <bors@rust-lang.org>2023-04-04 01:12:24 +0000
commiteb48e9771a924080a2a7a87b403278e61f3061ea (patch)
treeafab13e6507c903c4cd10a738a2c606923ae83ae /compiler/rustc_interface/src/errors.rs
parentcf7ada217c8ac63367b184afd9fffaff30f6ed44 (diff)
parentd9edb05d442fbe5359baf576ba737c5c3dfa84cc (diff)
downloadrust-eb48e9771a924080a2a7a87b403278e61f3061ea.tar.gz
rust-eb48e9771a924080a2a7a87b403278e61f3061ea.zip
Auto merge of #109876 - jsha:uniquify-intra-doc, r=notriddle
rustdoc: make intra-doc link pass non-quadratic for repeated links

In the collect_intra_doc_links pass, links to a given item that occurred repeatedly were getting inserted into a `Vec<clean::ItemLink>` repeatedly. This led to n^2 behavior (where n = the number of pages generated), particularly for the intra-doc link on the `Into<U> for T where U: From<T>` blanket implementation, since that link appears on every single struct page.

Fixes #109851
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions