Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pretty-print: Do not lose the $crate printing flag in print_tt #62574

Merged
merged 3 commits into from
Jul 11, 2019

Conversation

petrochenkov
Copy link
Contributor

#62393 had this accidental mistake.

Fixes #62562
r? @Mark-Simulacrum

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 10, 2019
@petrochenkov
Copy link
Contributor Author

Second commit removes the confusing default.

@Mark-Simulacrum
Copy link
Member

@bors p=10 (regression fix for core ecosystem crate)

I think it would probably be wise to also eliminate the other "wrappers", e.g. ident_to_string which is called sometimes from within the pretty printer and presumably needs the same treatment (or, could, anyway).

r=me with either comments on all of the "wrapper" methods added in the previous PR or them folded away for explicit handling one way or another.

@bors
Copy link
Contributor

bors commented Jul 11, 2019

☔ The latest upstream changes (presumably #62561) made this pull request unmergeable. Please resolve the merge conflicts.

@gnzlbg
Copy link
Contributor

gnzlbg commented Jul 11, 2019

@petrochenkov this needs rebasing

@petrochenkov
Copy link
Contributor Author

I think it would probably be wise to also eliminate the other "wrappers", e.g. ident_to_string which is called sometimes from within the pretty printer and presumably needs the same treatment (or, could, anyway).

Some of those wrappers are commonly used, so I didn't change them, but added some comments instead, ident_to_string is renamed.

@bors r=Mark-Simulacrum

@bors
Copy link
Contributor

bors commented Jul 11, 2019

📌 Commit e381065 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 11, 2019
@bors
Copy link
Contributor

bors commented Jul 11, 2019

⌛ Testing commit e381065 with merge 97b1128...

bors added a commit that referenced this pull request Jul 11, 2019
pretty-print: Do not lose the `$crate` printing flag in `print_tt`

#62393 had this accidental mistake.

Fixes #62562
r? @Mark-Simulacrum
@bors
Copy link
Contributor

bors commented Jul 11, 2019

☀️ Test successful - checks-azure, checks-travis, status-appveyor
Approved by: Mark-Simulacrum
Pushing 97b1128 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jul 11, 2019
@bors bors merged commit e381065 into rust-lang:master Jul 11, 2019
SimonSapin added a commit to SimonSapin/rust that referenced this pull request Jul 11, 2019
This branch is based before rust-lang#62574,
so that rust-lang#62562 can be reproduced.
This should succeed when merged into `master`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

serde no longer builds with latest rustc (master)
5 participants