Skip to content

Conversation

azhogin
Copy link
Contributor

@azhogin azhogin commented May 20, 2025

fixes #140975

Problem in codegen fixed with an additional temporary local.

@rustbot
Copy link
Collaborator

rustbot commented May 20, 2025

r? @oli-obk

rustbot has assigned @oli-obk.
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 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 May 20, 2025
@rustbot
Copy link
Collaborator

rustbot commented May 20, 2025

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

@azhogin azhogin force-pushed the azhogin/async-drop-broken-mir-place-deref-fix branch from 14a9dd6 to f8ae5e9 Compare May 20, 2025 15:42
@rust-log-analyzer

This comment has been minimized.

@matthiaskrgr
Copy link
Member

if you write fixes #00000 into the pr body, the linked issue will get autoclosed on merge

@azhogin azhogin force-pushed the azhogin/async-drop-broken-mir-place-deref-fix branch from f8ae5e9 to f7afa6f Compare May 20, 2025 17:45
@azhogin azhogin force-pushed the azhogin/async-drop-broken-mir-place-deref-fix branch from f7afa6f to 7c38b6f Compare May 21, 2025 11:29
@oli-obk
Copy link
Contributor

oli-obk commented May 21, 2025

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented May 21, 2025

📌 Commit 7c38b6f has been approved by oli-obk

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 21, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request May 21, 2025
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#141267 (only resolve top-level guard patterns' guards once)
 - rust-lang#141280 (Use Docker cache from the current repository)
 - rust-lang#141296 (Async drop fix for 'broken mir, place has deref as later projection')
 - rust-lang#141328 (When AsyncDrop impl is empty, sync drop generated in elaborator)
 - rust-lang#141332 (Do not eagerly fold consts in `normalize_param_env_or_error` if new solver)
 - rust-lang#141333 (Use `DeepRejectCtxt` in `assemble_inherent_candidates_from_param`)
 - rust-lang#141334 (eagerly check nested obligations when coercing fndefs)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit ad6fb06 into rust-lang:master May 21, 2025
6 checks passed
@rustbot rustbot added this to the 1.89.0 milestone May 21, 2025
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request May 21, 2025
Rollup merge of rust-lang#141296 - azhogin:azhogin/async-drop-broken-mir-place-deref-fix, r=oli-obk

Async drop fix for 'broken mir, place has deref as later projection'

fixes rust-lang#140975

Problem in codegen fixed with an additional temporary local.
@petrochenkov petrochenkov added the F-async_drop `#![feature(async_drop)]` label Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-async_drop `#![feature(async_drop)]` S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

ICE: broken mir in AsyncDropGlue, place has deref as a later projection (it is only permitted as the first projection)
7 participants