dbg!() without parameters #57845
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.
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,
The text was updated successfully, but these errors were encountered: