Skip to content

Reference updates for forbidding object lifetime changing pointer casts - #1951

Merged
ehuss merged 4 commits into
rust-lang:masterfrom
Darksonn:ref-for-136776
Feb 1, 2026
Merged

Reference updates for forbidding object lifetime changing pointer casts#1951
ehuss merged 4 commits into
rust-lang:masterfrom
Darksonn:ref-for-136776

Conversation

@Darksonn

@Darksonn Darksonn commented Jul 29, 2025

Copy link
Copy Markdown
Member

This is the reference PR for rust-lang/rust#136776.

Tracking:

I've split this into two commits. The first commit moves the relevant rules from a footnote to the [expr.as.pointer] section for ease of reading, and the second commit actually makes the rule modification.

Loading
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.

4 participants