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: Clean up handling of lifetime bounds #88604

Merged
merged 2 commits into from
Sep 5, 2021

Commits on Sep 2, 2021

  1. rustdoc: Clean up handling of lifetime bounds

    Previously, rustdoc recorded lifetime bounds by rendering them into the
    name of the lifetime parameter. Now, it leaves the name as the actual
    name and instead records lifetime bounds in an `outlives` list, similar
    to how type parameter bounds are recorded.
    camelid committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    2a60229 View commit details
    Browse the repository at this point in the history
  2. rustdoc: Higher-ranked lifetimes can't have bounds

    This cleans up the other spot I found where rustdoc was rendering bounds
    into the lifetime name itself. However, in this case, I don't think it
    could have actually happened because higher-ranked lifetime definitions
    aren't currently allowed to have bounds.
    camelid committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    3a3f99a View commit details
    Browse the repository at this point in the history