Skip to content

Extend assigning_clones to cover to_owned-alike methods#16909

Open
profetia wants to merge 2 commits intorust-lang:masterfrom
profetia:issue16517
Open

Extend assigning_clones to cover to_owned-alike methods#16909
profetia wants to merge 2 commits intorust-lang:masterfrom
profetia:issue16517

Conversation

@profetia
Copy link
Copy Markdown
Member

@profetia profetia commented Apr 25, 2026

Closes #16517

Implemented by reusing the logic from unnecessary_to_owned. r? @ada4a, if you don't mind.

changelog: [assigning_clones] extend to cover to_owned-alike methods

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 25, 2026
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.

assigning_clones false negative with str::to_string

3 participants