-
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
std::sync::mpsc doesn't implement fmt::Debug for Sender, Receiver etc. #30563
Comments
antrik
added a commit
to antrik/rust
that referenced
this issue
Jan 14, 2016
Minimal fix for rust-lang#30563 This covers all the public structs I think; except for Iter and IntoIter, which I don't know if or how they should be handled.
bors
added a commit
that referenced
this issue
Jan 20, 2016
Minimal fix for #30563 This covers all the public structs I think; except for Iter and IntoIter, which I don't know if or how they should be handled.
Was this closed by #30894? |
@apasel422 probably. It has been suggested that way more useful info could actually be printed instead of the opaque placeholders -- but that would be more of a wishlist item than a bug... The patch is sufficient to fix the actual problem I was running into: not being able to #[derive(Debug)] on any structure containing mpsc Senders/Receivers. |
Ok, closing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All public types should implement Debug.
Per conversation on #rust-internals, there might be some useful information that could be printed for these types -- but even just "Sender { .. }" etc. would be a start.
The text was updated successfully, but these errors were encountered: