about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-12-11 16:02:47 +0100
committerGitHub <noreply@github.com>2021-12-11 16:02:47 +0100
commit33ebf4de9648d3dd8711d518cf5d213886330607 (patch)
treec865bdc36e75c14f83330582b998480623a1e93b /compiler/rustc_codegen_llvm/src
parent7083f8edfd24b1c7f2c6375badd5cc16359c84fe (diff)
parente36da67a5ea12cdc0dd589f89b57b21d70385720 (diff)
downloadrust-33ebf4de9648d3dd8711d518cf5d213886330607.tar.gz
rust-33ebf4de9648d3dd8711d518cf5d213886330607.zip
Rollup merge of #91682 - camelid:alias-layout, r=jyn514
rustdoc: Show type layout for type aliases

Fixes #91265.

At first, you might think, "Why not just click through to the aliased
type?" But, if a type alias instantiates all of the generic parameters
of the aliased type, then it can show layout info even though the
aliased type cannot (because we can't compute layout for generic types).
So, I think it's useful to show layout info for type aliases.

This is a followup of 78d4b453ad2e19d44011b26fc55c949bff5dba3d
(originally part of #83501).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions