Skip to content

Prereq4 for async drop - needs_async_drop query fixes and some cleanup #129739

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Conversation

azhogin
Copy link
Contributor

@azhogin azhogin commented Aug 29, 2024

This is subpart 4 PR of #123948, just for review purposes.

is_async_drop query added, small needs_async_drop fixes and previous async drop glue implementation cleanup.
is_async_drop for detection of type implementing AsyncDrop trait itself, needs_async_drop for detection if a complex type have some internals implementing AsyncDrop and requires async drop glue for itself.

Review only last commit, based on previous PR #129737.

@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. T-libs Relevant to the library team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Aug 29, 2024
@rustbot
Copy link
Collaborator

rustbot commented Aug 29, 2024

Some changes occurred to the CTFE / Miri engine

cc @rust-lang/miri

Some changes occurred in compiler/rustc_codegen_cranelift

cc @bjorn3

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

This PR changes MIR

cc @oli-obk, @RalfJung, @JakobDegen, @davidtwco, @celinval, @vakaras

This PR changes Stable MIR

cc @oli-obk, @celinval, @ouz-a

@rust-log-analyzer

This comment has been minimized.

@azhogin azhogin mentioned this pull request Aug 29, 2024
@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch from b667246 to ccf830a Compare August 30, 2024 07:33
@rust-log-analyzer

This comment has been minimized.

@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch from ccf830a to b193d6a Compare August 30, 2024 09:01
@azhogin azhogin marked this pull request as draft August 30, 2024 09:09
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Aug 31, 2024

☔ The latest upstream changes (presumably #129817) made this pull request unmergeable. Please resolve the merge conflicts.

@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch 2 times, most recently from e0d8585 to aa7c159 Compare September 7, 2024 14:33
@rust-log-analyzer

This comment has been minimized.

@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch from aa7c159 to 2d5cad6 Compare September 7, 2024 16:19
@bors
Copy link
Collaborator

bors commented Sep 8, 2024

☔ The latest upstream changes (presumably #129313) made this pull request unmergeable. Please resolve the merge conflicts.

@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch from 2d5cad6 to 81c51d9 Compare September 8, 2024 12:03
@bors
Copy link
Collaborator

bors commented Sep 9, 2024

☔ The latest upstream changes (presumably #130165) made this pull request unmergeable. Please resolve the merge conflicts.

@davidtwco
Copy link
Member

r? @nikomatsakis is going to look into this

@rustbot rustbot assigned nikomatsakis and unassigned davidtwco Oct 1, 2024
@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch from 81c51d9 to 2b693c0 Compare February 9, 2025 13:51
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Feb 9, 2025

☔ The latest upstream changes (presumably #136751) made this pull request unmergeable. Please resolve the merge conflicts.

@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch 2 times, most recently from fca16b3 to 4efe2f2 Compare February 10, 2025 14:43
@bors
Copy link
Collaborator

bors commented Feb 12, 2025

☔ The latest upstream changes (presumably #136943) made this pull request unmergeable. Please resolve the merge conflicts.

@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch from 4efe2f2 to 0da1dc0 Compare March 30, 2025 17:07
@bors
Copy link
Collaborator

bors commented Apr 4, 2025

☔ The latest upstream changes (presumably #139354) made this pull request unmergeable. Please resolve the merge conflicts.

@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch from 0da1dc0 to 85f10ba Compare April 6, 2025 08:01
@azhogin azhogin force-pushed the azhogin/async-drop-prereq4-needs-async-drop-fixes-and-cleanup branch from 85f10ba to b1f3a6e Compare April 6, 2025 10:04
@bors
Copy link
Collaborator

bors commented Apr 11, 2025

☔ The latest upstream changes (presumably #139578) made this pull request unmergeable. Please resolve the merge conflicts.

@oli-obk oli-obk closed this Apr 11, 2025
# for free to join this conversation on GitHub. Already have an account? # 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. T-libs Relevant to the library team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants