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

Add extra debug assertions for equality for Adt/Variant/FieldDef #111523

Merged
merged 0 commits into from
May 19, 2023

Conversation

compiler-errors
Copy link
Member

Would've made it easier to both catch and test #111494. Maybe not worth it, since it does mean that the compiler is doing extra work when debug-assertions are enabled, but also that's what debug assertions are for :^)

@rustbot
Copy link
Collaborator

rustbot commented May 13, 2023

r? @b-naber

(rustbot has picked a reviewer for you, use r? to override)

@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 13, 2023
@rust-log-analyzer

This comment has been minimized.

@compiler-errors
Copy link
Member Author

lol, this is the error from #111494. I guess I'll wait until that PR lands.

@bors bors merged commit 521f4da into rust-lang:master May 19, 2023
@rustbot rustbot added this to the 1.71.0 milestone May 19, 2023
@compiler-errors
Copy link
Member Author

lol wtf bors

bors added a commit to rust-lang-ci/rust that referenced this pull request May 22, 2023
…trieb

Add extra debug assertions for equality for Adt/Variant/FieldDef

Would've made it easier to both catch and test rust-lang#111494. Maybe not worth it, since it does mean that the compiler is doing extra work when debug-assertions are enabled, but also that's what debug assertions are for :^)

This is a revival of rust-lang#111523 because I think I pushed an empty branch and bors got a bit too excited it closed the PR.
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.

5 participants