Uh oh!
There was an error while loading. Please reload this page.
Improve error reporting for closure return type mismatches - #87661
Conversation
rust-highfive
commented
Jul 31, 2021
r? @wesleywiser (rust-highfive has picked a reviewer for you, use r? to override) |
wesleywiser
left a comment
There was a problem hiding this comment.
The code looks fine to me but I'm not sure about the interaction with existing diagnostics. Most of the changed UI tests seem like they have useful notes to me.
wesleywiser
commented
Aug 20, 2021
r? @estebank I'm ok with merging this if the changes in diagnostics look good to you. |
FabianWolff
commented
Aug 20, 2021
Yes, you are completely right @wesleywiser; I don't remember why I thought it would be OK for these notes to disappear. I have reworked my implementation so that it now works for all existing test cases. |
estebank
commented
Aug 23, 2021
I don't know what the previous code looked like, but I'm ok with this. @bors r+ |
bors
commented
Aug 23, 2021
📌 Commit d2fe289 has been approved by |
bors
commented
Aug 23, 2021
bors
commented
Aug 23, 2021
☀️ Test successful - checks-actions |
Fixes#87461.