-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
simplify SourceID Ord/Eq #14980
base: master
Are you sure you want to change the base?
simplify SourceID Ord/Eq #14980
Conversation
r? @weihanglo rustbot has assigned @weihanglo. Use |
Potential risk:
Though this is pretty niche and I doubt it impacts any real world use case. |
@rfcbot fcp merge I propose to the team to merge this. See the comment in 2a9527b for detailed explanation. tl;dr
If there is any implication we're missing here, please call it out! |
Team member @weihanglo has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
Note that all of the risks identified so far involve the implications to |
May I ask, do you have a real example of this? |
What does this PR try to resolve?
This is a followup to #14800. Like that PR, this is a small incremental change that does not pull its own weight. If this PR is accepted, the next PR will unlock large performance wins. I am not posting them together because the logic of why this PR is correct is subtle and deserves to be discussed and reviewed without unrelated code changes.
How should we test and review this PR?
All tests pass on all commits. This should be reviewed one commit at a time.
Additional information
I pushed one commit at a time, so that CI can confirm that the assert (in the first commit) is never hit.