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: generate implementors for all auto traits #60293

Merged
merged 1 commit into from Jun 21, 2019

Commits on Jun 20, 2019

  1. rustdoc: generate implementors for all auto traits

    Previously we would only generate a list of synthetic implementations
    for two well known traits – Send and Sync. With this patch all the auto
    traits known to rustc are considered. This includes such traits like
    Unpin and user’s own traits.
    
    Sadly the implementation still iterates through the list of crate items
    and checks them against the traits, which for non-std crates containing
    their own auto-traits will still not include types defined in std/core.
    
    It is an improvement nontheless.
    nagisa committed Jun 20, 2019
    Copy the full SHA
    4c8d00a View commit details
    Browse the repository at this point in the history