Skip to content

Conversation

@samueltardieu
Copy link
Member

@samueltardieu samueltardieu commented May 7, 2025

changelog: [type_repetition_in_bounds]: include all generic bounds in suggestion, clearer message which now includes the repeated type name

Fixes #14744

@rustbot
Copy link
Collaborator

rustbot commented May 7, 2025

r? @llogiq

rustbot has assigned @llogiq.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label May 7, 2025
@llogiq
Copy link
Contributor

llogiq commented May 12, 2025

This looks good. Can you please squash your commits though?

Also, include the type name in the lint message, and simplify the span
computation.
@samueltardieu
Copy link
Member Author

Done

@llogiq llogiq enabled auto-merge May 12, 2025 16:32
@llogiq llogiq added this pull request to the merge queue May 12, 2025
Merged via the queue into rust-lang:master with commit 83248e5 May 12, 2025
11 checks passed
@samueltardieu samueltardieu deleted the issue-14744 branch May 12, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties

Projects

None yet

Development

Successfully merging this pull request may close these issues.

type-repetition-in-bounds gives an unhelpful suggestion when lifetimes are involved

3 participants