Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upwhy not derive(Debug) by default #28185
Comments
This comment has been minimized.
This comment has been minimized.
|
At this point it'd be too widespread of a breaking change to auto-derive This would work great as a note or warning lint, though. CC @Manishearth about the viability of this as an idea for clippy. |
This comment has been minimized.
This comment has been minimized.
|
It's possible as a lint (if all children derive trait Foo, lint that you should too), but perhaps should be |
This comment has been minimized.
This comment has been minimized.
|
making a change like this, as @cybergeek94 mentions, would require an RFC. Please pursue one if you're interested in making this, but yeah, there are backwards compatibility challenges here. |
steveklabnik
closed this
Sep 3, 2015
This comment has been minimized.
This comment has been minimized.
omega-tree
commented
Sep 19, 2017
|
Now that we have epochs, Please revisit this! |
clouds56 commentedSep 3, 2015
and use attribute #[nodebug] to specific others?
in the document, it says
but sometimes missing it, and I could only manually add it package by package.