Skip to content

Port closure inference from rustc #19536

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

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

jackh726
Copy link
Member

@jackh726 jackh726 commented Apr 6, 2025

We don't need this with chalk (though, I do wonder if this sidesteps rust-lang/chalk#688), but this is required for the next-solver integration.

I haven't gone through this and done any "cleanups", this is just ripped straight from my next-solver branch.
I think this is ready for review.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 6, 2025
@lnicola
Copy link
Member

lnicola commented Apr 6, 2025

Nit: do we want those debug! / trace! calls?

@rust-cloud-vms rust-cloud-vms bot force-pushed the closure-infer branch 2 times, most recently from 47e7183 to 48cfc79 Compare April 6, 2025 18:04
@jackh726
Copy link
Member Author

jackh726 commented Apr 6, 2025

Squashed and removed all the tracing bits.

@jackh726
Copy link
Member Author

jackh726 commented Apr 7, 2025

Reviews addressed

Copy link
Contributor

@davidbarsky davidbarsky left a comment

Choose a reason for hiding this comment

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

I'm okay with landing this if nobody else is opposed?

@davidbarsky davidbarsky added this pull request to the merge queue Apr 8, 2025
Merged via the queue into rust-lang:master with commit f3f6b5f Apr 8, 2025
14 checks passed
@jackh726 jackh726 deleted the closure-infer branch April 8, 2025 22:35
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.

6 participants