Sitelet https://web.archive.org/web/20220126001217/https://github.com/rust-lang/rust/pull/93089
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

Remove ordering traits from OutlivesConstraint #93089

Merged
merged 1 commit into from Jan 25, 2022

Conversation

@pierwill
Copy link
Member

@pierwill pierwill commented Jan 19, 2022 •

In two cases where this ordering was used, I've replaced the sorting to use a key that does not rely on DefId being Ord. This is part of #90317. If I understand correctly, whether this is correct depends on whether the RegionVids are tracked during incremental compilation. But I might be mistaken in this approach. cc @cjgillot

…straint`

In two cases where this ordering was used, I've replaced the sorting
to use a key that does not include DefId. I'm not sure this is correct
in terms of our goals from rust-lang#90317, or otherwise.
@rust-highfive
Copy link
Collaborator

@rust-highfive rust-highfive commented Jan 19, 2022

r? @michaelwoerister

(rust-highfive has picked a reviewer for you, use r? to override)

@pierwill
Copy link
Member Author

@pierwill pierwill commented Jan 19, 2022 •

The passing tests do inspire some confidence here.

@michaelwoerister
Copy link
Member

@michaelwoerister michaelwoerister commented Jan 20, 2022

Thanks for the PR, @pierwill!

Looks good to me. HashStable for RegionVid hashes the value verbatim, so it should already be stable.

@bors r+ rollup=never (let's still make this easily bisectable)

@bors
Copy link
Contributor

@bors bors commented Jan 20, 2022

📌 Commit 7f16d0e has been approved by michaelwoerister

@bors
Copy link
Contributor

@bors bors commented Jan 25, 2022

⌛ Testing commit 7f16d0e with merge 17dfae7...

@bors
Copy link
Contributor

@bors bors commented Jan 25, 2022

☀️ Test successful - checks-actions
Approved by: michaelwoerister
Pushing 17dfae7 to master...

@bors bors merged commit 17dfae7 into rust-lang:master Jan 25, 2022
11 checks passed
@rustbot rustbot added this to the 1.60.0 milestone Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants