diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-02-20 12:46:23 +0100 |
---|---|---|
committer | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-03-30 13:52:30 +0200 |
commit | f84d6127fe60a968bf331ebb9cec58b16df86852 (patch) | |
tree | d21f7197fb4ec5d144a3333ac0c9f2c30ba20511 /gcc/rust/ast/rust-ast.h | |
parent | e4cd0d726ed65e34cfcb8cd6a265095d89983520 (diff) | |
download | gcc-f84d6127fe60a968bf331ebb9cec58b16df86852.zip gcc-f84d6127fe60a968bf331ebb9cec58b16df86852.tar.gz gcc-f84d6127fe60a968bf331ebb9cec58b16df86852.tar.bz2 |
libproc_macro: Implement FromIterator
Implement FromIterator for TokenStream, from either a TokenTree iterator
or a TokenStream iterator.
ChangeLog:
* librust/proc_macro/rust/bridge/token_stream.rs: Add internal
implementation.
* librust/proc_macro/rust/lib.rs: Add FromIterator
implementation.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/ast/rust-ast.h')
0 files changed, 0 insertions, 0 deletions