Uh oh!
There was an error while loading. Please reload this page.
Add more span suggestions - #89391
Conversation
rust-highfive
commented
Sep 30, 2021
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nagisa (or someone else) soon. Please see the contribution instructions for more information. |
I was going to attempt to add something to the |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
nagisa
commented
Sep 30, 2021
r? @estebank From my perspective a more descriptive PR title and description would be helfpul. Something like "Implement machine applicable suggestions for static closures and loop control flow constructs" for the title and describe why these are okay as machine-applicable hints in these situations. |
estebank
left a comment
There was a problem hiding this comment.
Thanks for doing this! I left some inline comments asking for changes.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
estebank
commented
Oct 1, 2021
Also, you'll need to run |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
estebank
commented
Oct 4, 2021
You have a missing import after applying my suggested changes: |
This comment has been minimized.
This comment has been minimized.
Milo123459
commented
Oct 9, 2021
Kinda confused as I added the use in and it still fails? |
bugaevc
commented
Oct 14, 2021
In the static closure case, perhaps a better suggestion would be to use |
Milo123459
commented
Oct 22, 2021
Hey - sorry I was gone, got caught up with something else. Let me fix this |
jyn514
commented
Nov 9, 2021
@Milo123459 the error is in compiler/rustc_ast_lowering/src/expr.rs, but you only added the import to compiler/rustc_typeck/src/check/pat.rs. I recommend running |
nagisa
commented
Dec 31, 2021
Please undo the changes to |
Milo123459
commented
Dec 31, 2021
Hm.. running |
Milo123459
commented
Dec 31, 2021
Yes, I have tried that with git rebase: can't figure out what's going on here, I'm questioning why this even changed as well |
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
Milo123459
commented
Dec 31, 2021
I think something locally has broken my branch 🤔 |
rust-log-analyzer
commented
Dec 31, 2021
The job Click to see the possible cause of the failure (guessed by this bot) |
bors
commented
Jan 5, 2022
☔ The latest upstream changes (presumably #92560) made this pull request unmergeable. Please resolve the merge conflicts. |
Hey, first PR. This just adds some new span_suggestion's to some errors.