aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-ast.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-02-20 12:46:23 +0100
committerPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-03-30 13:52:30 +0200
commitf84d6127fe60a968bf331ebb9cec58b16df86852 (patch)
treed21f7197fb4ec5d144a3333ac0c9f2c30ba20511 /gcc/rust/ast/rust-ast.h
parente4cd0d726ed65e34cfcb8cd6a265095d89983520 (diff)
downloadgcc-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