Skip to content
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

feat: Calculate drop glue and show it on hover #18987

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

ChayimFriedman2
Copy link
Contributor

Also fix the needs_drop() intrinsic.

Unions also need this information (to err if they have a drop-needing field), but this will come in a follow-up PR.

Closes #18947.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 20, 2025
Also fix the `needs_drop()` intrinsic.

Unions also need this information (to err if they have a drop-needing field), but this will come in a follow-up PR.
Copy link
Member

@Veykril Veykril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I imagine this shouldn't cause problem for the salsa PR (given it only adds a query)

@Veykril Veykril added this pull request to the merge queue Feb 24, 2025
Merged via the queue into rust-lang:master with commit 93bd36d Feb 24, 2025
9 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the drop-glue branch February 24, 2025 18:47
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show whether a type has drop glue (or a direct drop impl) on hover
4 participants