-
Notifications
You must be signed in to change notification settings - Fork 767
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
Adds support for generics inderive-impl
#5584
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.
Cool! can we have a e2e-ish example in our repo as well?
Else, can you see if you can fix flite/runtime
using this?
It should be fairly easy to update the dependencies to this PR's last commit, given that we use the umbrella crate there :)
Created a PR with the fix in flite: kianenigma/flite#1 |
This is going to be insanely useful 🚀 |
wen XCMLite? :D |
On it now :D |
As raised by @kianenigma in sam0x17/macro_magic#15, this PR adds the support for generics while using
derive_impl
.This can then be used in conjunction with
FliteFrameSystem
being defined here as+#[derive_impl(FliteFrameSystem<Configuration>)] impl frame_system::Config for Runtime { type Block = Block; // .. Rest can be removed }