Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustdoc: Show type layout for type aliases #91682

Merged
merged 1 commit into from
Dec 11, 2021
Merged

Commits on Dec 9, 2021

  1. 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 rust-lang#83501).
    camelid committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    e36da67 View commit details
    Browse the repository at this point in the history