-
Notifications
You must be signed in to change notification settings - Fork 530
if_expr.md: Outline behavior regarding rustc E0317 #1090
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
Thanks for the contribution! I'm having a hard time trying to understand either the original or the proposed changes, and was wondering if you could maybe clarify or work towards improving this. I'm not sure I follow the original " I'm not quite following the connection to the final expression of the blocks here. Either the block is evaluated are it isn't, so I would not expect there to be a significance here. Can you say more about why this is adding that qualification? A detail that I think is missing here is that if there is no |
First off: Thanks for taking the time to review my proposed changes! I intially wanted to incoporate two findings, when doing arbitrary tests with the compiler:
So I came to the conclusion that:
Since I am in no way affiliated with compiler and language development I can only speculate, that the Error E0317 and the behavior regarding types and the I hope my intentions were clarified, I honestly tried :). |
Thanks for trying to clarify. I think this can be fixed perhaps by changing the sentence to something like the following:
From your examples, I think this should cover them:
|
@daerich Just checking in to see if you are still interested in working on clarifying this? Were there any questions you had from the last suggestion? |
Hey @ehuss , |
@rustbot author |
☔ The latest upstream changes (possibly 4249fb4) made this pull request unmergeable. Please resolve the merge conflicts. |
Change 2nd substatement from being factual to being a possibility to hint at the following behavior: