about summary refs log tree commit diff
path: root/src/test/rustdoc/issue-54705.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-27/+0
2022-09-25rustdoc: update test cases now that code-header is used without in-bandMichael Howell-2/+2
2022-08-31Update rustdoc testsGuillaume Gomez-4/+2
2021-07-25Rustdoc accessibility: use real headers for doc itemsbors-2/+2
Part of #87059 Partially reverts #84703 Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
2021-06-02Update rustdoc testsGuillaume Gomez-4/+4
2021-04-19rustdoc: use details tag for trait implementorsJacob Hoffman-Andrews-2/+2
This switches from JS-generated toggles to using the HTML <details> tag for expanding and collapsing entries in the "Implementors" section.
2018-12-27Simplify foreign type rendering.John Heitmann-2/+2
Simplified foreign type rendering by switching from tables to flexbox. Also, removed some seemingly extraneous elements like “ghost” spans. Reduces element count on std::iter::Iterator by 30%.
2018-12-25Remove licensesMark Rousskov-11/+0
2018-10-28Choose predicates without inference variables over those with themAaron Hill-0/+40
Fixes #54705 When constructing synthetic auto trait impls, we may come across multiple predicates involving the same type, trait, and substitutions. Since we can only display one of these, we pick the one with the 'most strict' lifetime paramters. This ensures that the impl we render the user is actually valid (that is, a struct matching that impl will actually implement the auto trait in question). This commit exapnds the definition of 'more strict' to take into account inference variables. We always choose a predicate without inference variables over a predicate with inference variables.