about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-12-08 16:05:31 -0800
committerNoah Lev <camelidcamel@gmail.com>2021-12-08 16:14:01 -0800
commite36da67a5ea12cdc0dd589f89b57b21d70385720 (patch)
tree6f3d83eb35402fcc37bf2507a4531838f941ed1d /compiler/rustc_codegen_llvm/src
parente6b883c74f49f32cb5d1cbad3457f2b8805a4a38 (diff)
downloadrust-e36da67a5ea12cdc0dd589f89b57b21d70385720.tar.gz
rust-e36da67a5ea12cdc0dd589f89b57b21d70385720.zip
rustdoc: Show type layout for type aliases
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