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

Does bug still exist? #2161

Closed
dev-ardi opened this issue Dec 10, 2024 · 2 comments · Fixed by #2211
Closed

Does bug still exist? #2161

dev-ardi opened this issue Dec 10, 2024 · 2 comments · Fixed by #2211
Labels
E-easy Difficulty: might be a good place for a beginner I-outdated Issue: info is outdated T-types Relevant to types team

Comments

@dev-ardi
Copy link
Contributor

This is unfortunately broken for <fndef as FnOnce<..>>::Output due to implied bounds, resulting in #114936.

https://rustc-dev-guide.rust-lang.org/solve/invariants.html#wfx-implies-wfnormalizex-

However the issue is closed. Is this still true?

@JohnTitor
Copy link
Member

Indeed it seems to be fixed, we can remove that text now.

@jieyouxu jieyouxu added I-outdated Issue: info is outdated T-types Relevant to types team labels Dec 22, 2024
@JohnTitor JohnTitor added the E-easy Difficulty: might be a good place for a beginner label Jan 11, 2025
@patrickoliveira15
Copy link
Contributor

patrickoliveira15 commented Jan 16, 2025

Hey everyone!

I’ve opened a PR to remove the outdated TODO about goal inference invariance since this issue is now resolved. Big thanks to @JohnTitor for confirming the fix! Here's the link to the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Difficulty: might be a good place for a beginner I-outdated Issue: info is outdated T-types Relevant to types team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants