Uh oh!
There was an error while loading. Please reload this page.
Add detailed error explanation for E0506 - #33384
Conversation
rust-highfive
commented
May 3, 2016
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @arielb1 (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
There was a problem hiding this comment.
Or even a function (it might even be simpler to understand actually). Could you improve this example by adding a "function scope" (which does the same thing but whatever) please?
There was a problem hiding this comment.
I'm not sure what you mean by this. Are you saying to move the middle logic out into a separate function like this?
There was a problem hiding this comment.
Just like your second example.
cramertj
commented
May 4, 2016
There was a problem hiding this comment.
It should "Example of erroneous code". Discussion here: #32989 (comment)
GuillaumeGomez
commented
May 4, 2016
Except for the last nit, it's all good. Please fix, squash and then it's good to get merged! |
bors
commented
May 5, 2016
☔ The latest upstream changes (presumably #33376) made this pull request unmergeable. Please resolve the merge conflicts. |
Broke up long lines in E0506 Trimmed E0506 comment to be under max line width Added function example to E0506 Changed example of erroneous code wording on E0506
GuillaumeGomez
commented
May 5, 2016
All good for me! Thanks @cramertj! |
arielb1
commented
May 7, 2016
@bors r+ rollup |
bors
commented
May 7, 2016
📌 Commit 8facc97 has been approved by |
Add detailed error explanation for E0506 Part of rust-lang#32777
Add detailed error explanation for E0506 Part of rust-lang#32777
Part of #32777