Skip to content

Conversation

@samueltardieu
Copy link
Member

Using lifetime.ident.name in suggestions will not output the raw modifier. For example, 'r#struct will be rendered as 'struct which would be incorrect.

Fix #13899

changelog: [needless_arbitrary_self_type]: use the raw lifetime name in suggestions

Using `lifetime.ident.name` in suggestions will not output the raw
modifier. For example, `'r#struct` will be rendered as `'struct` which
would be incorrect.
@rustbot
Copy link
Collaborator

rustbot commented Dec 29, 2024

r? @Manishearth

rustbot has assigned @Manishearth.
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 Dec 29, 2024
@Manishearth Manishearth added this pull request to the merge queue Dec 30, 2024
Merged via the queue into rust-lang:master with commit 7a834b5 Dec 30, 2024
9 checks passed
@samueltardieu samueltardieu deleted the push-kkykwyrkzzyz branch December 30, 2024 23:49
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.

needless-arbitrary-self-type ignores raw identifiers

3 participants