-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add VSCode command to view the hir of a function body #7068
Conversation
yup, as long as the functionality is isolated! Don't have thoughts about specific format |
This is ready for review. The output is pretty basic (it's unchanged since the original screenshot, except that it now also shows the function name), but is sufficient for my original use case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with format_to fix
bors d+
✌️ theotherphil can now approve this pull request. To approve and merge a pull request, simply reply with |
bors r+ |
Will fix #7061. Very rough initial version just to work out where I needed to wire everything up.
@matklad would you be happy merging a hir visualiser of some kind? If so, do you have any thoughts on what you'd like it show, and how?
I've spent very little time on this thus far, so I'm fine with throwing away the contents of this PR, but I want to avoid taking the time to make this more polished/interactive/useful only to discover that no-one else has any interest in this functionality.