-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
#[derive(Debug)] fails when used with a raw pointer to DST #36870
Comments
whitequark
changed the title
#[derive(Debug)] for *const Fn() fails
#[derive(Debug)] for *const DST fails
Sep 30, 2016
whitequark
changed the title
#[derive(Debug)] for *const DST fails
#[derive(Debug)] fails when used with a raw pointer to DST
Sep 30, 2016
Do you have a code snippet that exhibits this? |
Seems like this is a duplicate of #30427. |
|
I'm working on this. |
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Oct 1, 2016
impl Debug for raw pointers to unsized data `?Sized` was missing from these impls for seemingly no reason. Fixes rust-lang#36870.
Thanks @durka |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
... with the following error message:
since the Debug impl for raw pointers just prints the actual pointer, I don't see why it should require the pointee to be Sized.
The text was updated successfully, but these errors were encountered: