about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-05 08:22:21 +0200
committerGitHub <noreply@github.com>2024-08-05 08:22:21 +0200
commit4adefa433472a1b851703195f5912ce04f3dd476 (patch)
tree0b1eba6d42a0b142bcf325f37ffc840c4b6b5148 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent02c3837d8b74ea3afc0e51da1f743b8f5fef759b (diff)
parentdac7f20e1308ea17655d17f43dffaca813857300 (diff)
downloadrust-4adefa433472a1b851703195f5912ce04f3dd476.tar.gz
rust-4adefa433472a1b851703195f5912ce04f3dd476.zip
Rollup merge of #128471 - camelid:rustdoc-self, r=notriddle
rustdoc: Fix handling of `Self` type in search index and refactor its representation

### Summary

- Add enum variant `clean::Type::SelfTy` and use it instead of `clean::Type::Generic(kw::SelfUpper)`.
- Stop treating `Self` as a generic in the search index.
- Remove struct formerly known as `clean::SelfTy` (constructed as representation of function receiver type). We're better off without it.

### Before

![image](https://github.com/user-attachments/assets/d257bdd8-3a62-4c71-84a5-9c950f2e4f00)

### After

![image](https://github.com/user-attachments/assets/8f6d3f22-92c1-41e3-9ab8-a881b66816c0)

r? ```@notriddle```
cc https://github.com/rust-lang/rust/pull/127589#issuecomment-2259715841
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions