-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Allow quantification of lifetimes outside the self type in where clauses #21961
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
Conversation
The patch looks good, I think it is wise to prefer the hack for the time being. |
This looks good but don't we want some tests of some kind? |
(PS sorry it took me so long to review, I didn't notice this for a while) |
ah, crap, I forgot to |
rebased and added tests |
Seems reasonable. I'd sort of like a test that shows that the correct requirements are being put onto the caller (e.g. a compile-fail test where the requirement is |
@nikomatsakis test added |
@bors r+ c50a8f930245aa2a5a52e230c68a298c84f5a8a1 |
⌛ Testing commit c50a8f9 with merge 5f2ab7f... |
💔 Test failed - auto-mac-32-opt |
Closes #20022
r? @nikomatsakis