about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-20 08:56:06 +0200
committerGitHub <noreply@github.com>2025-07-20 08:56:06 +0200
commitdda505850ad72808e151256156ccd67994b0d52c (patch)
tree05dbdbd5134fd7e4468ca21a33532229fa8877d2 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parenta8c2e540ec8bac694171f7871123231161cdda54 (diff)
parent2f14d0a65d7ec8ee35e7f25ddd996ae40615a2a3 (diff)
downloadrust-dda505850ad72808e151256156ccd67994b0d52c.tar.gz
rust-dda505850ad72808e151256156ccd67994b0d52c.zip
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. :wink:

cc ```@lolbinarycat```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions