Skip to content
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

[Feature Request] Allow MakeImpl to build an impl including Associated Constants and Associated Types #32

Open
AZMCode opened this issue Jul 6, 2022 · 0 comments

Comments

@AZMCode
Copy link

AZMCode commented Jul 6, 2022

Simple enough description of the problem.
Suppose there was a trait as such:

trait MyTrait {
    fn my_fn();
    const MY_CONST: usize;
    type MyType: TypeBoundsHere;
}

There is no way to build a complete impl of this trait using the reflection API, due to the associated type and associated constant.

Now, the description of the problem might be easy, but solving it surely looks to moving quite a bit of code around.
I understand if this issue isn't top priority given the state of development of the crate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant