about summary refs log tree commit diff
path: root/src/test/rustdoc/issue-54705.rs
AgeCommit message (Collapse)AuthorLines
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.