-
Notifications
You must be signed in to change notification settings - Fork 30
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 TypeInfo for fields with associated types without bounds #20
Conversation
Looks like this is in a pretty good state? What is still outstanding here, docs and that todo? |
Ooh thanks for pinging this. Yeah just the things you specified there and syncing with master |
# Conflicts: # derive/src/lib.rs
# Conflicts: # test_suite/tests/derive.rs
# Conflicts: # derive/src/lib.rs
* Docs and nits * Update derive/src/trait_bounds.rs Co-authored-by: Andrew Jones <[email protected]>
Add a few trybuild tests (WIP)
add trybuild test files
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.
LGTM
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.
Approval by proxy
WIP, copied and amended
trait_bounds
fromparity_scale_codec
. Works but needs refactoring and documenting.e.g.
This generates a TypeInfo impl with bounds on the associated types i.e.