Skip to content

Duplicated lifetime name in diagnostic for higher-ranked type in higher-ranked trait bound #102414

Description

@cjgillot

In https://github.com/rust-lang/rust/pull/101454/files#diff-46c19c4c60dbf4dc95fd23bdb31dbba31d7001a7f269c4068c536522a09f25deR1

The diagnostic looks a bit silly. I don't know why we are choosing a 'b for the inner param.

Originally posted by @cjgillot in #101454 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions