Skip to content

std::intrinsics::get_tydesc will only accept sized types #21058

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

Closed
Diggsey opened this issue Jan 12, 2015 · 0 comments · Fixed by #21170
Closed

std::intrinsics::get_tydesc will only accept sized types #21058

Diggsey opened this issue Jan 12, 2015 · 0 comments · Fixed by #21170
Labels
A-type-system Area: Type system

Comments

@Diggsey
Copy link
Contributor

Diggsey commented Jan 12, 2015

Although it's currently marked as unstable, it's really useful to be able to introspect the type system when debugging, and there doesn't seem to be any reason why get_tydesc can't take dynamically sized types.

@kmcallister kmcallister added the A-type-system Area: Type system label Jan 12, 2015
alexcrichton added a commit to alexcrichton/rust that referenced this issue Jan 15, 2015
While it's unstable and will probably be replaced or "reformed" at some point, it's useful in the mean time to be able to introspect the type system when debugging, and not be limited to sized types.

Fixes rust-lang#21058
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-type-system Area: Type system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants