]> git.lizzy.rs Git - rust.git/commitdiff
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)
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

1  2 
src/libproc_macro/lib.rs

Simple merge