<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/rustdoc, branch automation/bors/try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=automation/bors/try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=automation/bors/try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-29T16:08:51+00:00</updated>
<entry>
<title>Add regression test for doc cfg applied on public items inside private items</title>
<updated>2025-09-29T16:08:51+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-09-29T12:31:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9119eba24de69902ba421151691d7a294d96fa04'/>
<id>urn:sha1:9119eba24de69902ba421151691d7a294d96fa04</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `doc_auto_cfg` feature as well</title>
<updated>2025-09-27T09:30:57+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-09-26T12:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6cccea8731c5f8540d65c2458a36655a4b8793f3'/>
<id>urn:sha1:6cccea8731c5f8540d65c2458a36655a4b8793f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve code comments and extend tests for `doc_cfg` feature</title>
<updated>2025-09-27T09:29:50+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-08-26T14:03:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=77885fef2cd9a7f9daa4f95336f0cfdeb62b3016'/>
<id>urn:sha1:77885fef2cd9a7f9daa4f95336f0cfdeb62b3016</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix `tests/rustdoc/target-feature.rs` test by adding missing `#![feature(doc_cfg)]`</title>
<updated>2025-09-27T09:29:49+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-07-01T15:00:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6fecff45d915b31eee3170f32fedb6db045611f1'/>
<id>urn:sha1:6fecff45d915b31eee3170f32fedb6db045611f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Put back the `doc_cfg` code behind a nightly feature</title>
<updated>2025-09-27T09:29:49+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-04-11T12:32:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c06a076634e4feab47e133fe6325af9659bab082'/>
<id>urn:sha1:c06a076634e4feab47e133fe6325af9659bab082</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add "global" rustdoc test for RFC 3631</title>
<updated>2025-09-27T09:29:48+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-04-01T15:01:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2d82c99f1e4a4e50b47f75d767b0d1d957357c1a'/>
<id>urn:sha1:2d82c99f1e4a4e50b47f75d767b0d1d957357c1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update rustdoc tests</title>
<updated>2025-09-27T09:29:48+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-03-28T23:54:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6537278e114a98ea6f2c80d7d7ffacb2868be770'/>
<id>urn:sha1:6537278e114a98ea6f2c80d7d7ffacb2868be770</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add tests for new `tyalias` intra-doc link disambiguator</title>
<updated>2025-09-26T13:07:12+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-09-25T13:25:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dba45cde68ba25b7fa790e4e36593b6fd55d6d8a'/>
<id>urn:sha1:dba45cde68ba25b7fa790e4e36593b6fd55d6d8a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #135771 - GuillaumeGomez:jump-to-def-perf, r=fmease</title>
<updated>2025-09-25T16:15:06+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-25T16:15:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a028b7a9e395f28a433cc7f7874b9996eb778881'/>
<id>urn:sha1:a028b7a9e395f28a433cc7f7874b9996eb778881</id>
<content type='text'>
[rustdoc] Add support for associated items in "jump to def" feature

Fixes https://github.com/rust-lang/rust/issues/135485.

r? ``@fmease``
</content>
</entry>
<entry>
<title>Rollup merge of #116882 - fmease:rustdoc-generalized-priv-repr-heuristic, r=rustdoc</title>
<updated>2025-09-25T16:15:06+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-25T16:15:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a39d5134cdc054e5f1b574a932e5921a971cb7f6'/>
<id>urn:sha1:a39d5134cdc054e5f1b574a932e5921a971cb7f6</id>
<content type='text'>
rustdoc: hide `#[repr]` if it isn't part of the public ABI

&gt; [!IMPORTANT]
&gt; Temporarily stacked on top of PR https://github.com/rust-lang/rust/pull/146527; only the last commit is relevant!

Follow-up to rust-lang/rust#115439.
Unblocks rust-lang/rust#116743, CC ``@dtolnay.``

Fixes rust-lang/rust#66401.
Fixes rust-lang/rust#128364.
Fixes rust-lang/rust#137440.

Only display the representation `#[repr(REPR)]` (where `REPR` is not `Rust` or `transparent`) of a given type if none of its variants (incl. the synthetic variants of structs) are `#[doc(hidden)]` and all of its fields are public and not `#[doc(hidden)]` since it's likely not meant to be considered part of the public ABI otherwise.

`--document-{private,hidden}-items` works as expected in this context, too.

Moreover, we now also factor in the presence of `#[doc(hidden)]` when checking whether to show `repr(transparent)` or not.
</content>
</entry>
</feed>
