<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc, 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-10-03T19:10:33+00:00</updated>
<entry>
<title>Rollup merge of #147292 - Urgau:rustdoc-test-unstable_opts, r=fmease</title>
<updated>2025-10-03T19:10:33+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-10-03T19:10:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dbc5e72ea203029c1ceb87e46d84800bb90eaf7f'/>
<id>urn:sha1:dbc5e72ea203029c1ceb87e46d84800bb90eaf7f</id>
<content type='text'>
Respect `-Z` unstable options in `rustdoc --test`

This PR makes rustdoc respect `-Z` unstable options when collecting doctests (`rustdoc --test`).

In the process I also realized that `--error-format` wasn't respected as well, making UI annotations impossible to write so I fixed that as well.

Best reviewed commit by commit.

Fixes https://github.com/rust-lang/rust/issues/147276
Fixes https://github.com/rust-lang/rust/issues/143930
r? fmease
</content>
</entry>
<entry>
<title>Respect `--error-format` in `rustdoc --test`</title>
<updated>2025-10-03T15:04:17+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2025-10-03T09:57:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e914a1a6e026d2c9db43300735a75ba25746e14c'/>
<id>urn:sha1:e914a1a6e026d2c9db43300735a75ba25746e14c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Respect `-Z` unstable options in `rustdoc --test`</title>
<updated>2025-10-03T10:05:31+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2025-10-03T09:27:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3d5f54ad55a32c0f53271597145b5cd7bae9c3e2'/>
<id>urn:sha1:3d5f54ad55a32c0f53271597145b5cd7bae9c3e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #145898 - lolbinarycat:rustdoc-search-trait-parent, r=GuillaumeGomez,notriddle</title>
<updated>2025-10-03T08:43:43+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-10-03T08:43:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dd091003ace19d9556c647d87f7a9cd1e8dcc17e'/>
<id>urn:sha1:dd091003ace19d9556c647d87f7a9cd1e8dcc17e</id>
<content type='text'>
If a trait item appears in rustdoc search, hide the corrosponding impl items

fixes rust-lang/rust#138251

cc `@notriddle`
</content>
</entry>
<entry>
<title>search.js: introduce optimized removeIdxListAsc routine</title>
<updated>2025-10-02T20:29:11+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-09-21T21:10:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a145dfff03d562584a4a00552fb5df67cdd0d2b6'/>
<id>urn:sha1:a145dfff03d562584a4a00552fb5df67cdd0d2b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>if a trait item is shown in search results, hide the impl item</title>
<updated>2025-10-02T20:27:40+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-08-26T18:41:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c407d340de1717a88537725c899c153c6fdda051'/>
<id>urn:sha1:c407d340de1717a88537725c899c153c6fdda051</id>
<content type='text'>
for example, if we're showing `Iterator::next`,
we don't need to also show `Range::next` in the results.

Co-authored-by: Michael Howell &lt;michael@notriddle.com&gt;
</content>
</entry>
<entry>
<title>Move doc_cfg-specific code into `cfg.rs`</title>
<updated>2025-10-02T13:24:04+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-10-02T13:24:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6275a19255afb2a09b932986928e81cf431a7358'/>
<id>urn:sha1:6275a19255afb2a09b932986928e81cf431a7358</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace `rustc_span::Span` with a stripped down version for librustdoc's highlighter</title>
<updated>2025-09-30T19:01:30+00:00</updated>
<author>
<name>Yotam Ofek</name>
<email>yotam.ofek@gmail.com</email>
</author>
<published>2025-09-30T14:12:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2d03ab1486c11f2c5f8a19ae040b94edc090b279'/>
<id>urn:sha1:2d03ab1486c11f2c5f8a19ae040b94edc090b279</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `#[bench]` for librustdoc's syntax highlighter</title>
<updated>2025-09-30T18:13:45+00:00</updated>
<author>
<name>Yotam Ofek</name>
<email>yotam.ofek@gmail.com</email>
</author>
<published>2025-09-29T21:14:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6edf05b740070429e57ec18e5c027167dbb17ab4'/>
<id>urn:sha1:6edf05b740070429e57ec18e5c027167dbb17ab4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #147153 - GuillaumeGomez:doc-propagation-before-stripping-items, r=lolbinarycat</title>
<updated>2025-09-30T01:37:52+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-09-30T01:37:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=745b8f6b746724365c8bb23c0dcec56471c30400'/>
<id>urn:sha1:745b8f6b746724365c8bb23c0dcec56471c30400</id>
<content type='text'>
[rustdoc] Move doc cfg propagation pass before items stripping passes

Follow-up of https://github.com/rust-lang/rust/pull/138907.

r? lolbinarycat
</content>
</entry>
</feed>
