about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-05-23 14:54:14 +0000
committerbors <bors@rust-lang.org>2021-05-23 14:54:14 +0000
commit13bf0b2a3cc38ba9ed9a1542d8f2a7e98059a8aa (patch)
treed66877f608dd3f70a261365ad0fd5eb5e4844ac7 /compiler/rustc_codegen_llvm/src
parent0f8cd43ee8c3614e04b5c624dd8a45758d7023da (diff)
parentd637ed4364822a9a03248179098437adffaa3948 (diff)
downloadrust-13bf0b2a3cc38ba9ed9a1542d8f2a7e98059a8aa.tar.gz
rust-13bf0b2a3cc38ba9ed9a1542d8f2a7e98059a8aa.zip
Auto merge of #85479 - Stupremee:render-Self_as-type-casts, r=CraftSpider
rustdoc: render `<Self as X>::Y` type casts properly

Rustdoc didn't render any `<Self as X>` casts which causes invalid code inside the documentation. This is fixed by this PR by checking if the target type `X` is different from `Self`, and if so, it will render a typecast.

Resolves #85454
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions