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-json: Better representation of lifetime bounds in where clauses. #127289

Merged
merged 1 commit into from
Jul 4, 2024

Commits on Jul 3, 2024

  1. rustdoc-json: Better representation of lifetime bounds in where clauses.

    As suggested [on zulip][1], there's no need to use `GenericBound` here,
    as the only bound a lifetime can have is that it outlives other
    lifetimes.
    
    While we're making breaking changes here, I also renamed it from using
    "region" to "lifetime", as this is more user-aligned. See [this
    comment][2] for details.
    
    [1]: https://rust-lang.zulipchat.com/#narrow/stream/266220-t-rustdoc/topic/.60ItemEnum.3A.3AOpaqueTy.60/near/448871430
    [2]: rust-lang#100961 (comment)
    aDotInTheVoid committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    7e8aac5 View commit details
    Browse the repository at this point in the history