Uh oh!
There was an error while loading. Please reload this page.
pretty.rs: Update Closure and Generator print - #77069
Conversation
davidtwco
left a comment
There was a problem hiding this comment.
LGTM, some minor comments/inconsistencies that might be fine but I'd like to check.
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.
| } | ||
| if !self.tcx().sess.verbose() { | ||
| p!(write("generator")); | ||
| // FIXME(eddyb) should use `def_span`. |
There was a problem hiding this comment.
Out of curiosity, did you try using def_span here?
There was a problem hiding this comment.
Didn't try def_span, I guess I could've. I was mostly trying to keep changes minimal to non-verbose mode with this PR. Main motivation is to remove printing upvar_tys for non-verbose.
Uh oh!
There was an error while loading. Please reload this page.
343ba38 to
1fb5ecaCompareThere was a problem hiding this comment.
Won't need this check when rust-lang/project-rfc-2229#4 is implemented, because then the is_valid() check itself will fail because the tupled_upvar_tys will be an inference variable.
bors
commented
Sep 26, 2020
☔ The latest upstream changes (presumably #76176) made this pull request unmergeable. Please resolve the merge conflicts. Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels: |
Co-authored-by: Dhruv Jauhar <dhruvjhr@gmail.com> Co-authored-by: Logan Mosier <logmosier@gmail.com>
Co-authored-by: Dhruv Jauhar <dhruvjhr@gmail.com> Co-authored-by: Logan Mosier <logmosier@gmail.com>
1fb5eca to
adda0cdComparearora-aman
commented
Sep 28, 2020
@rustbot modify labels: +S-waiting-on-review -S-waiting-on-author |
arora-aman
commented
Sep 29, 2020
@davidtwco updated |
nikomatsakis
commented
Sep 29, 2020
@bors r+ |
bors
commented
Sep 29, 2020
📌 Commit adda0cd has been approved by |
bors
commented
Sep 30, 2020
bors
commented
Sep 30, 2020
☀️ Test successful - checks-actions, checks-azure |
More detailed outline: rust-lang/project-rfc-2229#17
Closes: rust-lang/project-rfc-2229#11
r? @nikomatsakis
cc @eddyb@davidtwco@estebank