-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Deprecate unused Encoder trait methods #17158
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
What do you mean by currently unused? Are they unused in encoders bundled in libserialize, or existing libraries (on GitHub?) which implement |
|
IMO they need to either be used by libstd and similar places (libsyntax) or deprecated. Using emit_tuple_arg is a good idea. |
bors
added a commit
that referenced
this issue
Sep 26, 2014
…chton The tuple serialization logic should be using the tuple-specific emit function. This fixes part of #17158. The JSON encoder already proxies to `emit_seq_elt` when `emit_tuple_arg` is called, so this should have an effect.
Encode was moved out of tree, so if this is still an issue, please persue it over at https://github.com/rust-lang/rustc-serialize |
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
May 19, 2024
fix: discard path when the path is invalid Close rust-lang#17158
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
A gang of trait methods are currently unused and should probably be deprecated and removed.
Unused methods are at least:
The text was updated successfully, but these errors were encountered: