Uh oh!
There was an error while loading. Please reload this page.
Improve reporting errors and suggestions for trait bounds - #67665
Conversation
rust-highfive
commented
Dec 27, 2019
r? @zackmdavis (rust_highfive has picked a reviewer for you, use r? to override) |
Hi, I'd like to provide a bit of insight about the second part of my MR - it refers to the fnfoo2<T>(_:T)whereT: ?Sized{//}First of all, the hint points at an unrelated piece of code - it's been done this way, because (presumably) it was easier than creating two distinct messages: one for humans (pointing at the trait bounds) and the other one for rustfix (pointing at the end of Second of all, the Third of all: current version is inconsistent when it comes to fnfoo(x:impl ?Sized){//}fnfoo2<X: ?Sized>(x:X){//}Notice how the first error message underlines the entire type ( Of course it's all just a suggestion and I'd like to hear what you think :-) Thanks for reviewing, Edit: also, I'd like to thank @VirrageS for pointing me in the right direction - his diff was higly helpful. |
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.
rust-highfive
commented
Dec 29, 2019
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
bors
commented
Dec 30, 2019
☔ The latest upstream changes (presumably #66942) made this pull request unmergeable. Please resolve the merge conflicts. |
rust-highfive
commented
Dec 30, 2019
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
bors
commented
Dec 31, 2019
☔ The latest upstream changes (presumably #67764) made this pull request unmergeable. Please resolve the merge conflicts. |
Patryk27
commented
Jan 5, 2020
According to @Centril's suggestion, I've split Taking the opportunity I've also modified the |
bors
commented
Jan 6, 2020
☔ The latest upstream changes (presumably #67917) made this pull request unmergeable. Please resolve the merge conflicts. |
bors
commented
Jan 6, 2020
☔ The latest upstream changes (presumably #67886) made this pull request unmergeable. Please resolve the merge conflicts. |
Patryk27
commented
Jan 9, 2020
Hiya - since this branch is aging quite rapidly, maintaining it has become rather cumbersome; could someone please review it? :-) I'm not sure who to call, so @zackmdavis@Centril Thanks, |
zackmdavis
commented
Jan 9, 2020
@Patryk27 Thanks for your patience. Let me take a look tonight (I'm super behind on notifications and may need to resign from the reviewer queue 😰 😿 ) |
bors
commented
Jan 10, 2020
☔ The latest upstream changes (presumably #68078) made this pull request unmergeable. Please resolve the merge conflicts. |
zackmdavis
commented
Jan 10, 2020
(ugh, or tomorrow night, need to sleep now 😰 ) |
zackmdavis
commented
Jan 13, 2020
okay, I at least managed to pull-request my resignation from the reviewer queue, and now I have to go to my dayjob, and then tonight I'll actually review this, and if I break my word this time then, like, hit me with a stick |
Patryk27
commented
Jan 13, 2020
Don't worry, take your time; there are more important things that my PR - like a proper sleep! :-) |
Uh oh!
There was an error while loading. Please reload this page.
zackmdavis
commented
Jan 24, 2020
@bors delegate+ |
bors
commented
Jan 24, 2020
✌️ @Patryk27 can now approve this pull request |
Hi - thanks for reviewing! :-) While I've been rebasing this branch, I noticed that apparently three days ago someone already split this huge |
bors
commented
Jan 26, 2020
☔ The latest upstream changes (presumably #68522) made this pull request unmergeable. Please resolve the merge conflicts. |
zackmdavis
commented
Jan 28, 2020
@bors r+ |
bors
commented
Jan 28, 2020
📌 Commit d2470eba0b74f91319e3ba4525ef25fc496f30c4 has been approved by |
bors
commented
Jan 28, 2020
⌛ Testing commit d2470eba0b74f91319e3ba4525ef25fc496f30c4 with merge 8b02e6cd91c65fdecb37173306b96261a38eebc3... |
rust-highfive
commented
Jan 29, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
bors
commented
Jan 29, 2020
💔 Test failed - checks-azure |
bors
commented
Feb 4, 2020
☔ The latest upstream changes (presumably #68377) made this pull request unmergeable. Please resolve the merge conflicts. |
Patryk27
commented
Feb 9, 2020
Hi, I'm just reminding about this patch :-P |
zackmdavis
commented
Feb 9, 2020
@bors r+ |
bors
commented
Feb 9, 2020
📌 Commit a8d34c1 has been approved by |
bors
commented
Feb 9, 2020
Improve reporting errors and suggestions for trait bounds Fix#66802 - When printing errors for unsized function parameter, properly point at the parameter instead of function's body. - Improve `consider further restricting this bound` (and related) messages by separating human-oriented hints from the machine-oriented ones.
bors
commented
Feb 10, 2020
☀️ Test successful - checks-azure |
Fix#66802
consider further restricting this bound(and related) messages by separating human-oriented hints from the machine-oriented ones.