I was browsing through the standard library docs to work on my implementation of rust (specifically in libcore), and I noticed the macro's core::RustcDecodable
and core::RustcEncodable
. These seemed afully suspicious, so I looked at their docs, and " Unstable implementation detail of the rustc
compiler, do not use" is what it says.
My question is, is there a reason this is in libcore, and any reason it is not #[unstable(feature="rustc_<whatever>")]
(and even if so, is there a reason it cannot be made unstable). The fact it's stable means it's technically part of the standard library, and I'd rather not implement a rustc implementation detail if I don't absolutely have to (aside from reasonable things that the implementation can make use of as well, such as lang items).