Uh oh!
There was an error while loading. Please reload this page.
Generic Associated Types in Trait Paths - Ast part - #79266
Conversation
rust-highfive
commented
Nov 21, 2020
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @petrochenkov (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. |
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.
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.
petrochenkov
commented
Nov 21, 2020
Looks great, I left some comments, mostly about error wording and formatting. |
b-naber
commented
Nov 23, 2020
Implemented the suggestions and addressed one of your comments on raising an error when |
b-naber
commented
Nov 23, 2020
Failing the CI tests because of formatting issues. I did call |
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.
Uh oh!
There was an error while loading. Please reload this page.
petrochenkov
commented
Nov 24, 2020
r=me after waiting for green CI and squashing commits. |
There was a problem hiding this comment.
this diagnostic is somewhat unfortunate?
There was a problem hiding this comment.
Agree. Improving diagnostics will be done in a separate PR.
41d899d to
1206495Comparepetrochenkov
commented
Nov 25, 2020
Not sure what is the status here. @b-naber, could you address #79266 (comment) and squash the remaining commits? |
…ents in AssocTyConstraints haven't been fully implemented
1206495 to
2d18e88Compare2d18e88 to
5c4568dCompareb-naber
commented
Nov 25, 2020
Should be fixed now. |
b-naber
commented
Nov 25, 2020
Also addressed your comment, not sure why it's not shown as outdated yet. |
petrochenkov
commented
Nov 25, 2020
Thanks! |
bors
commented
Nov 25, 2020
📌 Commit 5c4568d has been approved by |
bors
commented
Nov 25, 2020
⌛ Testing commit 5c4568d with merge 585713a038fc284d0a7d79e2daac755d17446b89... |
bors
commented
Nov 25, 2020
💔 Test failed - checks-actions |
jonas-schievink
commented
Nov 26, 2020
@bors retry |
b-naber
commented
Nov 26, 2020
Sorry, accidentally closed this on my cell phone. |
petrochenkov
commented
Nov 26, 2020
@bors retry |
bors
commented
Nov 27, 2020
bors
commented
Nov 27, 2020
☀️ Test successful - checks-actions |
…r=petrochenkov Improve diagnostics when parsing angle args rust-lang#79266 introduced parsing of generic arguments in associated type constraints, this however resulted in possibly very confusing error messages in cases in which closing angle brackets were missing such as in `Vec<(u32, _, _) = vec![]`, which outputs an incorrectly parsed equality constraint error, as noted by `@cynecx.` This PR tries to provide better error messages in such cases. r? `@petrochenkov`
The Ast part of #78978
r? @petrochenkov