<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/rustdoc-js-std, branch lcnr/rustc-dev-guide</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-09T03:58:42+00:00</updated>
<entry>
<title>Rollup merge of #141658 - lolbinarycat:rustdoc-search-stability-rank-138067, r=GuillaumeGomez</title>
<updated>2025-08-09T03:58:42+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-08-09T03:58:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=48f5929604d04484f6e6d2f047e81ee5df127633'/>
<id>urn:sha1:48f5929604d04484f6e6d2f047e81ee5df127633</id>
<content type='text'>
rustdoc search: prefer stable items in search results

fixes https://github.com/rust-lang/rust/issues/138067

this does add a new field to the search index, but since we're only listing unstable items instead of adding a boolean flag to every item, it should only increase the search index size of sysroot crates, since those are the only ones using the `staged_api` feature, at least as far as the rust project is concerned.
</content>
</entry>
<entry>
<title>Add test for aliases partial match</title>
<updated>2025-07-16T12:27:22+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-07-15T19:08:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c079c96877fdd3977c8d5be830931ecb4f79018d'/>
<id>urn:sha1:c079c96877fdd3977c8d5be830931ecb4f79018d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add doc(alias("AsciiChar")) to core::ascii::Char</title>
<updated>2025-06-20T16:11:51+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-06-20T16:09:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8d18f3d609e9e31da8a3c2bb1613499d5ba0fe9a'/>
<id>urn:sha1:8d18f3d609e9e31da8a3c2bb1613499d5ba0fe9a</id>
<content type='text'>
Added it to the reexported, which is intended
rustdoc behavior, but is apparently untested,
so I also added a test for it.
</content>
</entry>
<entry>
<title>rustdoc search: prefer stable items in search results</title>
<updated>2025-06-10T17:56:58+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-05-27T17:42:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1140e90074b0cbcfdea8535e4b51877e2838227e'/>
<id>urn:sha1:1140e90074b0cbcfdea8535e4b51877e2838227e</id>
<content type='text'>
fixes https://github.com/rust-lang/rust/issues/138067
</content>
</entry>
<entry>
<title>Consistent trait bounds for ExtractIf Debug impls</title>
<updated>2025-05-06T02:46:46+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2025-03-15T18:19:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c35914383a92d7504f3a71c390dc2ebd14bce695'/>
<id>urn:sha1:c35914383a92d7504f3a71c390dc2ebd14bce695</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc-search: add unbox flag to Result aliases</title>
<updated>2025-04-11T18:36:40+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2025-04-11T18:35:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e013cf8afcf74a5f27feb7ebb0dca248e5c489fe'/>
<id>urn:sha1:e013cf8afcf74a5f27feb7ebb0dca248e5c489fe</id>
<content type='text'>
Fixes #139665
</content>
</entry>
<entry>
<title>Remove the common prelude module</title>
<updated>2025-02-11T21:04:27+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2025-02-11T20:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8c24c0a023456c3d9e58f06a3abf0a83d335c6f6'/>
<id>urn:sha1:8c24c0a023456c3d9e58f06a3abf0a83d335c6f6</id>
<content type='text'>
This fixes the issues described in
https://github.com/rust-lang/rust/issues/136102. Primarily, this
resolves some issues with how the documentation for the prelude is
generated:

- It avoids showing "unstable" for macros in the prelude that are
  actually stable.
- Avoids duplication of some pages due to the previous lack of
  `doc(no_inline)`.
- Makes the different edition preludes consistent, and sets a pattern
  that can be used by future editions.

We may need to rearrange these modules in the future if we decide to
remove anything from the prelude again. If we do, I think we should look
into a different solution that avoids the documentation problems.
</content>
</entry>
<entry>
<title>Treat other items as functions for the purpose of type-based search</title>
<updated>2025-01-16T17:52:00+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-01-13T21:31:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9397d133f683070863029552313b5e083398bf42'/>
<id>urn:sha1:9397d133f683070863029552313b5e083398bf42</id>
<content type='text'>
constants and statics are nullary functions, and struct fields are unary functions.

functions (along with methods and trait methods) are prioritized over other
items, like fields and constants.
</content>
</entry>
<entry>
<title>for purely return-type based searches, deprioritize clone-like functions</title>
<updated>2025-01-13T18:22:34+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-01-09T20:16:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ebd5ce1828dd2dfdef35786e1374c7ca30f1b0c9'/>
<id>urn:sha1:ebd5ce1828dd2dfdef35786e1374c7ca30f1b0c9</id>
<content type='text'>
A clone-like function in a function that takes as an argument the type
that it returns.

However, functions that return a type variable are not counted as
clone-line. Because we're not unifying the whole function at once,
a function like `U -&gt; T` would otherwise be counted as "clone-like"
because the generics will just unify with anything when done seperatly.

Co-authored-by: Michael Howell &lt;michael@notriddle.com&gt;
</content>
</entry>
<entry>
<title>rustdoc: treat `allowed_through_unstable_modules` as deprecation</title>
<updated>2025-01-02T19:03:24+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2025-01-02T18:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c7cb8224e2020d30df6bceb8ea2e16e7a2594585'/>
<id>urn:sha1:c7cb8224e2020d30df6bceb8ea2e16e7a2594585</id>
<content type='text'>
This ensures `std::intrinsics::transmute` is deemphasized
in the search engine and other UI, by cleaning it into a deprecation
without propagating it through reexports when the parent module
is stable.
</content>
</entry>
</feed>
