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

Print out more information for -Zunpretty=expanded,hygiene #64486

Merged
merged 2 commits into from
Sep 18, 2019

Conversation

matthewjasper
Copy link
Contributor

I've found this helpful when trying to understand how hygiene works.

Closes #16420

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 15, 2019
@Mark-Simulacrum
Copy link
Member

r? @petrochenkov probably

@petrochenkov
Copy link
Contributor

Thanks!
I previously just did the format!("{:#?}", data) thing manually when necessary.

@petrochenkov petrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 16, 2019
@matthewjasper matthewjasper added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 17, 2019
@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Sep 17, 2019

📌 Commit 3c2fd1a has been approved by petrochenkov

@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 Sep 17, 2019
@bors
Copy link
Contributor

bors commented Sep 18, 2019

⌛ Testing commit 3c2fd1a with merge ae996db1ece7955a3914345964c6ed8184a83f77...

tmandry added a commit to tmandry/rust that referenced this pull request Sep 18, 2019
…petrochenkov

Print out more information for `-Zunpretty=expanded,hygiene`

I've found this helpful when trying to understand how hygiene works.

Closes rust-lang#16420
@tmandry
Copy link
Member

tmandry commented Sep 18, 2019

@bors retry rolled up

@bors
Copy link
Contributor

bors commented Sep 18, 2019

⌛ Testing commit 3c2fd1a with merge 81e91693356868bcfd3f96e0ab4b71d44e567ae8...

tmandry added a commit to tmandry/rust that referenced this pull request Sep 18, 2019
…petrochenkov

Print out more information for `-Zunpretty=expanded,hygiene`

I've found this helpful when trying to understand how hygiene works.

Closes rust-lang#16420
tmandry added a commit to tmandry/rust that referenced this pull request Sep 18, 2019
…petrochenkov

Print out more information for `-Zunpretty=expanded,hygiene`

I've found this helpful when trying to understand how hygiene works.

Closes rust-lang#16420
@tmandry
Copy link
Member

tmandry commented Sep 18, 2019

@bors retry rolled up

bors added a commit that referenced this pull request Sep 18, 2019
Rollup of 4 pull requests

Successful merges:

 - #64486 (Print out more information for `-Zunpretty=expanded,hygiene`)
 - #64503 (rename Allocation::retag -> with_tags_and_extra)
 - #64516 (update Nomicon and Reference)
 - #64528 (Load proc macro metadata in the correct order.)

Failed merges:

r? @ghost
@bors bors merged commit 3c2fd1a into rust-lang:master Sep 18, 2019
@matthewjasper matthewjasper deleted the hygiene-debugging branch September 19, 2019 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

Syntax context output in --pretty expanded,hygiene doesn't represent linked syntax contexts
7 participants