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

typeof #2

Open
cramertj opened this issue Jun 5, 2017 · 0 comments
Open

typeof #2

cramertj opened this issue Jun 5, 2017 · 0 comments

Comments

@cramertj
Copy link
Owner

cramertj commented Jun 5, 2017

This isn't strictly an impl Trait proposal, but it interacts heavily with abstract return types.

In particular, it'd be nice to be able to write typeof(my_func)::Output to refer to the return type of an impl Trait-returning function. (Note: this could require some shenanigans to avoid having to specify <typeof(my_func) as Fn<_>>::Output>.)

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

No branches or pull requests

1 participant