Skip to content

ptr_as_ptr: fix incorrect suggestion with pointer::cast and macros #15514

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

Merged
merged 1 commit into from
Aug 22, 2025

Conversation

notriddle
Copy link
Contributor

@notriddle notriddle commented Aug 19, 2025

Fixes #15232

changelog: [ptr_as_ptr]: fix incorrect suggestion with pointer::cast and macros

@rustbot
Copy link
Collaborator

rustbot commented Aug 19, 2025

r? @blyxyas

rustbot has assigned @blyxyas.
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 Aug 19, 2025
@samueltardieu samueltardieu added this pull request to the merge queue Aug 22, 2025
Merged via the queue into rust-lang:master with commit 8a8caeb Aug 22, 2025
13 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 22, 2025
@notriddle notriddle deleted the ptr-as-ptr-cast-ctxt branch August 22, 2025 19:00
0b10011 added a commit to 0b10011/oxiplate that referenced this pull request Aug 23, 2025
I believe it was due to a fix for rust-lang/rust-clippy#15514,
but I haven't verified that yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ptr-as-ptr confused by ptr::addr_of_mut! macro
4 participants