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

Improved the MIR spanview output #76313

Merged
merged 1 commit into from
Sep 10, 2020
Merged

Conversation

richkadel
Copy link
Contributor

@richkadel richkadel commented Sep 4, 2020

  • Adds missing "tail" spans (spans that continue beyond the end of
    overlapping spans)
  • Adds a caret to highlight empty spans associated with MIR elements
    that have a position, but otherwise would not be visible.
  • Adds visual pointing brackets at the beginning and end of each span

Screen Shot 2020-09-03 at 8 38 08 PM

Screen Shot 2020-09-03 at 8 41 04 PM

Screen Shot 2020-09-06 at 5 42 57 PM

Screen Shot 2020-09-06 at 5 45 54 PM

r? @tmandry
FYI: @wesleywiser

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 4, 2020
@richkadel richkadel force-pushed the mir-spanview-2 branch 2 times, most recently from f70cf8e to 9c0afd2 Compare September 7, 2020 00:51
* Adds missing "tail" spans (spans that continue beyond the end of
overlapping spans)
* Adds a caret to highlight empty spans associated with MIR elements
that have a position, but otherwise would not be visible.
* Adds visual pointing brackets at the beginning and end of each span
@richkadel
Copy link
Contributor Author

@wesleywiser @tmandry - Welcome back from the holiday!

I'm just re-pinging this CL again so its still in your queue.

Thanks!

@wesleywiser
Copy link
Member

@richkadel Thanks for the ping!

@bors r+

@bors
Copy link
Contributor

bors commented Sep 9, 2020

📌 Commit 9046a93 has been approved by wesleywiser

@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 9, 2020
@bors
Copy link
Contributor

bors commented Sep 9, 2020

⌛ Testing commit 9046a93 with merge 70279296e1ca9bce9f195e8120420608631be470...

@bors
Copy link
Contributor

bors commented Sep 9, 2020

💔 Test failed - checks-actions

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

LINK : fatal error LNK1102: out of memory

On unrelated test.

@wesleywiser - Looks spurious

@wesleywiser
Copy link
Member

@bors retry

@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 9, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 9, 2020
Rollup of 14 pull requests

Successful merges:

 - rust-lang#75094 (Add `-Z combine_cgu` flag)
 - rust-lang#75984 (Improve unresolved use error message)
 - rust-lang#76141 (Address review comments about config.toml from rustc-dev-guide PR)
 - rust-lang#76313 (Improved the MIR spanview output)
 - rust-lang#76430 (Add align to rustc-attrs unstable book)
 - rust-lang#76465 (Add a script to automatically update Rust/Clang versions in documentation)
 - rust-lang#76473 (Add missed spaces to GCC-WARNING.txt)
 - rust-lang#76481 (Convert repetitive target_pointer_width checks to const solution.)
 - rust-lang#76493 (Remove a stray ignore-tidy-undocumented-unsafe)
 - rust-lang#76504 (Capitalize safety comments)
 - rust-lang#76515 (SessionDiagnostic: Fix non-determinism in generated format string.)
 - rust-lang#76516 (Enable GitHub Releases synchronization)
 - rust-lang#76522 (remove redundant clones)
 - rust-lang#76523 (Remove unused PlaceContext::NonUse(NonUseContext::Coverage))

Failed merges:

r? `@ghost`
@bors bors merged commit bab0968 into rust-lang:master Sep 10, 2020
@rustbot rustbot added this to the 1.48.0 milestone Sep 10, 2020
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.

None yet

6 participants