-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Deprecate rustc-serialize attribute #42449
Comments
Can this be don for 1.20? |
Do you mean the |
@eddyb Er yes that's what I mean. |
I believe on the implementation side technically https://github.com/rust-lang/rust/blob/master/src/libsyntax_ext/deriving/mod.rs#L119 is what needs to change, but it's worth noting that the Rust compiler itself rather extensively uses these attributes: ~430 of each excluding tests currently, I believe. Maybe it is too early to do this? Or perhaps these attributes are different in some way? |
If the traits from the crates.io library are deprecated instead of the derives, and rustc's copy of the library is left untouched, I believe the derives will trigger the deprecation warnings, but only for users of the crates.io library and Rust won't have a thousand errors while building. |
Is this still an issue? |
Closing in favor of rust-lang-deprecated/rustc-serialize#193. |
AFAIK the attribute itself is still undeprecated. Just filing an issue to track it.
The text was updated successfully, but these errors were encountered: