<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc/inline_cross, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-11T09:32:08+00:00</updated>
<entry>
<title>Move /src/test to /tests</title>
<updated>2023-01-11T09:32:08+00:00</updated>
<author>
<name>Albert Larsan</name>
<email>74931857+albertlarsan68@users.noreply.github.com</email>
</author>
<published>2023-01-05T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf2dff2b1e3fa55fa5415d524200070d0d7aacfe'/>
<id>urn:sha1:cf2dff2b1e3fa55fa5415d524200070d0d7aacfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: remove `fnname` CSS class that's styled exactly like `fn`</title>
<updated>2022-11-28T17:51:46+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2022-11-28T17:21:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=19e020029670ca422978c98209d1ed712a041c45'/>
<id>urn:sha1:19e020029670ca422978c98209d1ed712a041c45</id>
<content type='text'>
It's not obvious why this was ever a separate class name, since even
in c4219a478354b464079b1b7ab081e071e8e39765 when it was first added,
it was styled identically to regular `fn` links.
</content>
</entry>
<entry>
<title>rustdoc: add test for cross-crate trait-object types</title>
<updated>2022-11-04T19:10:53+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>liehr.exchange@gmx.net</email>
</author>
<published>2022-11-02T14:25:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7ec50b629c6ef418a819b39fc332f209e8fa4908'/>
<id>urn:sha1:7ec50b629c6ef418a819b39fc332f209e8fa4908</id>
<content type='text'>
as well as some FIXMEs
</content>
</entry>
<entry>
<title>rustdoc: move cross-crate lifetime/outlives bounds on GAT params from where-clause to param declaration site</title>
<updated>2022-11-04T18:34:37+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>liehr.exchange@gmx.net</email>
</author>
<published>2022-11-02T14:17:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2d9755fa21bb2184e522a48fa6f3d18f0e1bf62f'/>
<id>urn:sha1:2d9755fa21bb2184e522a48fa6f3d18f0e1bf62f</id>
<content type='text'>
I've overlooked this in #103190.
</content>
</entry>
<entry>
<title>rustdoc: render unnamed arguments as underscores in cross-crate functions &amp; function pointers</title>
<updated>2022-11-04T18:34:37+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>liehr.exchange@gmx.net</email>
</author>
<published>2022-11-02T14:13:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9cdab67f6e3f249e677abf3580637fe42324a961'/>
<id>urn:sha1:9cdab67f6e3f249e677abf3580637fe42324a961</id>
<content type='text'>
for consistency with the way we display local definitions (cleaned from HIR, not from rustc_middle).
</content>
</entry>
<entry>
<title>Rollup merge of #103254 - fmease:fix-24183, r=GuillaumeGomez</title>
<updated>2022-10-23T21:48:16+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2022-10-23T21:48:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=28a1bafd48a23a9993222072a019a7c0a433bdbd'/>
<id>urn:sha1:28a1bafd48a23a9993222072a019a7c0a433bdbd</id>
<content type='text'>
rustdoc: do not filter out cross-crate `Self: Sized` bounds

All type parameters **except `Self`** are implicitly `Sized` ([via](https://doc.rust-lang.org/nightly/std/marker/trait.Sized.html)). Previously, we disregarded the exception of `Self` and omitted cross-crate `Sized` bounds of *any* type parameter *including* `Self` when rendering.
From now on, we *do* render cross-crate `Self: Sized` bounds.

Most notably, in `std` we now finally properly render the `Sized` bound of the `Clone` trait as well as the `Self: Sized` bound on `Iterator::map`.

Fixes #24183.

``@rustbot`` label T-rustdoc A-cross-crate-reexports
r? rustdoc
</content>
</entry>
<entry>
<title>rustdoc: render bounds of cross-crate GAT params</title>
<updated>2022-10-19T15:59:05+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>liehr.exchange@gmx.net</email>
</author>
<published>2022-10-18T13:34:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2cc4a0aad72752a4d485ced76bab677620f088b8'/>
<id>urn:sha1:2cc4a0aad72752a4d485ced76bab677620f088b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: Do not filter out `Self: Sized` bounds</title>
<updated>2022-10-19T15:27:08+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>liehr.exchange@gmx.net</email>
</author>
<published>2022-10-19T15:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f543770de26849fee46d7974ba9212e402c22151'/>
<id>urn:sha1:f543770de26849fee46d7974ba9212e402c22151</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: render more cross-crate hrtbs properly</title>
<updated>2022-10-05T21:14:15+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>liehr.exchange@gmx.net</email>
</author>
<published>2022-10-04T12:08:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=73c239e5eb0b3197ee6d0faeaf85a8eaccb8a491'/>
<id>urn:sha1:73c239e5eb0b3197ee6d0faeaf85a8eaccb8a491</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #102439 - fmease:rustdoc-simplify-cross-crate-trait-bounds, r=GuillaumeGomez</title>
<updated>2022-10-03T17:12:17+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-10-03T17:12:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2e7e17a84abea8f4c3e2d95ce432ef784af06bef'/>
<id>urn:sha1:2e7e17a84abea8f4c3e2d95ce432ef784af06bef</id>
<content type='text'>
rustdoc: re-sugar more cross-crate trait bounds

Previously, we would only ever re-sugar cross-crate predicates like `Type: Trait, &lt;Type as Trait&gt;::Name == Rhs` to `Type: Trait&lt;Name = Rhs&gt;` if the `Type` was a generic parameter like `Self` or `T`. With this PR, `Type` can be any type.

Most notably, this means that we now re-sugar predicates involving associated types (where `Type` is of the form `Self::Name`) which are then picked up by the pre-existing logic that re-sugars them into bounds. As a result of that, the associated type `IntoIter` of `std`'s `IntoIterator` trait (re-exported from `core`) is no longer rendered as:

```rust
type IntoIter: Iterator
where
    &lt;Self::IntoIter as Iterator&gt;::Item == Self::Item;
```

but as one would expect: `type IntoIter: Iterator&lt;Item = Self::Item&gt;;`.

Cross-crate closure bounds like `F: Fn(i32) -&gt; bool` are now also rendered properly (previously, the return type (`Self::Output`) would not be rendered and we would show the underlying equality predicate).

Fixes #77763.
Fixes #84579.
Fixes #102142.

`@rustbot` label T-rustdoc A-cross-crate-reexports
r? rustdoc
</content>
</entry>
</feed>
