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

Provide more Debug information for indexed types. #33

Open
ouz-a opened this issue Sep 4, 2023 · 2 comments
Open

Provide more Debug information for indexed types. #33

ouz-a opened this issue Sep 4, 2023 · 2 comments

Comments

@ouz-a
Copy link

ouz-a commented Sep 4, 2023

With this rust-lang/rust#115534 we will be able to get nicer debug information for DefId, and according to @oli-obk rust-lang/rust#115534 (comment), we need to do this for other indexed types as well (Place would be good contender imo).

Edit: Place doesn't need better Debug, but assignments involving Const needs to be fixed they look overly verbose right now

@ouz-a
Copy link
Author

ouz-a commented Sep 6, 2023

Made ty::Ty Debug better here rust-lang/rust#115605

@ouz-a
Copy link
Author

ouz-a commented Sep 13, 2023

With this rust-lang/rust#115772 Span is also indexed type and it prints full debug information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant