-
Notifications
You must be signed in to change notification settings - Fork 925
Required lifetime bounds for GATs in where clauses get removed #4954
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
Comments
Also running into this, will try and look into fixing it and open a PR if I can figure it out |
Thanks @raftario but this has already been fixed in source, just hasn't been released yet. |
we would benefit from getting more test cases added for the various issues that have been reported, can ping you if you're interested in working on that |
Oh that's great to hear, thanks for letting me know. Wouldn't mind getting a couple of tests in if that can be of any help |
Excellent thanks. Will create a new issue with the details tomorrow and tag you |
Closing as the issue was already resolved in source and test case has been added. No ETA yet on exactly when the fix will hit nightly, but it will be in the next release regardless |
Any word when this fix will be available in nightly in light of the push for GAT stabilization? |
This has already been on nightly for quite some time |
@calebcartwright Yep, you're right. My editor wasn't using nightly rustfmt. Sorry for the noise! |
No worries. FWIW I believe it'll land on stable with the 1.58 release too |
Minimal reproduction (playground link, hit 'format' then try building to see it in action):
Before
After
This will result in the following compiler error:
The text was updated successfully, but these errors were encountered: