-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Replace Debug representation in const value pretty print #66451
Comments
I think this only affects pointers, so this ought not to be a problem for |
this issue isn't really relevant anymore, as we now use rust/compiler/rustc_middle/src/ty/print/pretty.rs Lines 1417 to 1541 in baf382e
This should also deal with references by printing a as a test case, consider https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=cf3ef9d61a8bd2f727db22dd6b755863 while that's getting fixed, also change the Finally, move the implementation of that query to a new module |
As discussed in #65859, we shouldn't be using Debug for user facing output.
The text was updated successfully, but these errors were encountered: