Files
rust/src/librustdoc
Matthias Krüger dda505850a Rollup merge of #143988 - GuillaumeGomez:alias-inexact, r=lolbinarycat
[rustdoc] Make aliases search support partial matching

Fixes rust-lang/rust#140782.

To make this work, I moved aliases into the `searchIndex` like any other item. It links to the "original" item with a new `original` field. No so great part is that we need to have some fields like `bitIndex` to be set on the alias to make the description load to work but I consider it minor enough to be ok.

This PR voluntarily doesn't handle de-prioritization of aliases as ```@lolbinarycat``` wished to work on this so I'll leave them this part. 😉

cc ```@lolbinarycat```
2025-07-20 08:56:06 +02:00
..
2025-07-19 16:20:47 +02:00
2025-07-19 16:20:47 +02:00
2025-07-19 16:20:47 +02:00
2025-07-19 16:20:47 +02:00
2025-07-19 16:20:47 +02:00
2025-03-06 16:06:41 +00:00
2024-07-29 08:26:52 +10:00
2025-07-19 16:20:47 +02:00
2024-08-29 12:14:41 +02:00
2025-06-29 12:41:16 +00:00
2024-11-28 03:05:43 +01:00
2025-07-13 13:50:00 +00:00
2025-03-06 08:16:28 +00:00

For more information about how librustdoc works, see the rustc dev guide.