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

dbg!() without parameters #57845

Closed
inv2004 opened this issue Jan 22, 2019 · 2 comments
Closed

dbg!() without parameters #57845

inv2004 opened this issue Jan 22, 2019 · 2 comments
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@inv2004
Copy link

inv2004 commented Jan 22, 2019

Hello,
I found dbg!(..) is very useful, but, unfortunately it does not support dbg!() without expression, which could help to debug your program also.

I found that println!() did not work in first versions also, but later it was fixed, that is why I suppose dbg!() has the same story.

dbg!(()) is ok, but its just workaround.

Thank you,

@mark-i-m
Copy link
Member

Could you make a PR for this?

@estebank estebank added C-enhancement Category: An issue proposing an enhancement or a PR with one. T-lang Relevant to the language team, which will review and decide on the PR/issue. labels Jan 22, 2019
@clarfonthey
Copy link
Contributor

I just made a PR for this.

@Centril Centril added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. and removed T-lang Relevant to the language team, which will review and decide on the PR/issue. labels Jan 24, 2019
Centril added a commit to Centril/rust that referenced this issue Mar 19, 2019
Centril added a commit to Centril/rust that referenced this issue Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants