]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #49734 - alexcrichton:generalize-token-stream, r=nikomatsakis
authorkennytm <kennytm@gmail.com>
Wed, 11 Apr 2018 19:37:12 +0000 (03:37 +0800)
committerkennytm <kennytm@gmail.com>
Wed, 11 Apr 2018 19:37:12 +0000 (03:37 +0800)
commit574c0502f1eb9fa1aa562e0181d8749b026d3b09
tree3ab5fae8041d6c7ed4451efb0edcecf2fba67a93
parent57b15f62e0d64f3e206b3394f7117577fe971d57
parentd985344b933f2ccc07602fdf86fda94bc3e643cf
Rollup merge of #49734 - alexcrichton:generalize-token-stream, r=nikomatsakis

proc_macro: Generalize `FromIterator` impl

While never intended to be stable we forgot that trait impls are insta-stable!
This construction of `FromIterator` wasn't our first choice of how to stabilize
the impl but our hands are tied at this point, so revert back to the original
definition of `FromIterator` before #49597

Closes #49725
src/libproc_macro/lib.rs