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

derive macro for Transfer #7

Open
ubolonton opened this issue Apr 22, 2019 · 1 comment
Open

derive macro for Transfer #7

ubolonton opened this issue Apr 22, 2019 · 1 comment

Comments

@ubolonton
Copy link
Owner

It's mostly about generating a useful type name, for error reporting. Using typename crate is one option.

@ubolonton ubolonton changed the title derive macro for Transfer derive macro for Transfer Apr 22, 2019
@ubolonton
Copy link
Owner Author

Rust 1.38 has std::any::type_name, which makes this a lot easier.

We may want to either bump the minimum Rust version, or add a new feature flag.

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