Skip to content

Conversation

@dianqk
Copy link
Member

@dianqk dianqk commented Dec 22, 2025

The PR is separated from #147886.

When replacing _3 with _2, we have to know _2 is valid at _3 = *_1;.

let mut _2: &A;
let mut _3: &A;

_2 = *_1;
// ...
_3 = *_1;

r? cjgillot

@rustbot
Copy link
Collaborator

rustbot commented Dec 22, 2025

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 22, 2025
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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants