mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
b805f30542
This is the only trait specializable outside of the standard library. Before stabilizing specialization we will probably want to remove support for this. It was originally made specializable to allow a more efficient ToString in libproc_macro back when this way the only way to get any data out of a TokenStream. We now support getting individual tokens, so proc macros no longer need to call it as often.