diff options
| author | bors <bors@rust-lang.org> | 2023-04-04 01:12:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-04 01:12:24 +0000 |
| commit | eb48e9771a924080a2a7a87b403278e61f3061ea (patch) | |
| tree | afab13e6507c903c4cd10a738a2c606923ae83ae /compiler/rustc_interface/src/errors.rs | |
| parent | cf7ada217c8ac63367b184afd9fffaff30f6ed44 (diff) | |
| parent | d9edb05d442fbe5359baf576ba737c5c3dfa84cc (diff) | |
| download | rust-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
