-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Merged by Bors] - Implement Debug
for dynamic types
#5948
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we not implement Debug
for all the Dynamic*
structs? I did not look through all the types, but for example DynamicArray
also doesn't implement it.
I didn't take a look in all |
Debug
for DynamicEnum
, DynamicTuple
and DynamicVariant
Debug
for dynamic types
bors r+ |
# Objective When trying derive `Debug` for type that has `DynamicEnum` it wasn't possible, since neither of `DynamicEnum`, `DynamicTuple`, `DynamicVariant` or `DynamicArray` implements `Debug`. ## Solution Implement Debug for those types, using `derive` macro --- ## Changelog - `DynamicEnum`, `DynamicTuple`, `DynamicVariant` and `DynamicArray` now implements `Debug`
Build failed (retrying...): |
# Objective When trying derive `Debug` for type that has `DynamicEnum` it wasn't possible, since neither of `DynamicEnum`, `DynamicTuple`, `DynamicVariant` or `DynamicArray` implements `Debug`. ## Solution Implement Debug for those types, using `derive` macro --- ## Changelog - `DynamicEnum`, `DynamicTuple`, `DynamicVariant` and `DynamicArray` now implements `Debug`
Build failed (retrying...): |
# Objective When trying derive `Debug` for type that has `DynamicEnum` it wasn't possible, since neither of `DynamicEnum`, `DynamicTuple`, `DynamicVariant` or `DynamicArray` implements `Debug`. ## Solution Implement Debug for those types, using `derive` macro --- ## Changelog - `DynamicEnum`, `DynamicTuple`, `DynamicVariant` and `DynamicArray` now implements `Debug`
Pull request successfully merged into main. Build succeeded: |
Debug
for dynamic typesDebug
for dynamic types
# Objective When trying derive `Debug` for type that has `DynamicEnum` it wasn't possible, since neither of `DynamicEnum`, `DynamicTuple`, `DynamicVariant` or `DynamicArray` implements `Debug`. ## Solution Implement Debug for those types, using `derive` macro --- ## Changelog - `DynamicEnum`, `DynamicTuple`, `DynamicVariant` and `DynamicArray` now implements `Debug`
# Objective When trying derive `Debug` for type that has `DynamicEnum` it wasn't possible, since neither of `DynamicEnum`, `DynamicTuple`, `DynamicVariant` or `DynamicArray` implements `Debug`. ## Solution Implement Debug for those types, using `derive` macro --- ## Changelog - `DynamicEnum`, `DynamicTuple`, `DynamicVariant` and `DynamicArray` now implements `Debug`
# Objective When trying derive `Debug` for type that has `DynamicEnum` it wasn't possible, since neither of `DynamicEnum`, `DynamicTuple`, `DynamicVariant` or `DynamicArray` implements `Debug`. ## Solution Implement Debug for those types, using `derive` macro --- ## Changelog - `DynamicEnum`, `DynamicTuple`, `DynamicVariant` and `DynamicArray` now implements `Debug`
Objective
When trying derive
Debug
for type that hasDynamicEnum
it wasn't possible, since neither ofDynamicEnum
,DynamicTuple
,DynamicVariant
orDynamicArray
implementsDebug
.Solution
Implement Debug for those types, using
derive
macroChangelog
DynamicEnum
,DynamicTuple
,DynamicVariant
andDynamicArray
now implementsDebug