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

Use underscore consts on rustc 1.37+ #1683

Closed
dtolnay opened this issue Nov 28, 2019 · 0 comments · Fixed by #1827
Closed

Use underscore consts on rustc 1.37+ #1683

dtolnay opened this issue Nov 28, 2019 · 0 comments · Fixed by #1827
Labels

Comments

@dtolnay
Copy link
Member

dtolnay commented Nov 28, 2019

https://blog.rust-lang.org/2019/08/15/Rust-1.37.0.html#using-unnamed-const-items-for-macros

This would tend to produce more readable error messages, because the paths currently emitted by rustc in error messages are silly (rust-lang/rust#46991).

It will require adding a build.rs script to serde_derive similar to the one that exists in serde.

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

Successfully merging a pull request may close this issue.

1 participant