-
Notifications
You must be signed in to change notification settings - Fork 13.3k
add a test for issue rust-lang/rust#81317 #140632
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
base: master
Are you sure you want to change the base?
Conversation
I'm slightly confused -- is this a regression test, or does it just try to make sure even further changes to this code pattern is observed in PR test diffs? (Because the MCVE still doesn't compile, since 1.49, due to inference changes.) Would be good clarifying that in the test comment. |
@@ -0,0 +1,40 @@ | |||
// Regression test for #81317: type can no longer be infered as of 1.49 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Document the reason this test is failing so someone reading or modifying it in the future doesn't have to reestablish context from scratch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, that's great.
This comment has been minimized.
This comment has been minimized.
@bors r+ rollup |
closes #81317