]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #32269 - richo:impl-totokens-p-implitem, r=nikomatsakis
authorEduard-Mihai Burtescu <edy.burt@gmail.com>
Sat, 19 Mar 2016 10:30:00 +0000 (12:30 +0200)
committerEduard-Mihai Burtescu <edy.burt@gmail.com>
Sat, 19 Mar 2016 10:30:00 +0000 (12:30 +0200)
commit8be1d7d1a93d049e45a94edf956f3968d5a454d0
tree6c9c3ded09117aaf17bf2b8705b86332f00a3fea
parent8a134404863055558697fe7f5d59661661ce172d
parent178b28099fa542430a8e9491e23053a162aedcb9
Rollup merge of #32269 - richo:impl-totokens-p-implitem, r=nikomatsakis

syntax: impl ToTokens for P<ast::ImplItem>

I'm working on updating zinc for latest rust, and it appears that I need this impl[0].

More generally, I realise that libsyntax is "Whatever the compiler team needs to build a compiler", but should I just open a PR fleshing this out for all types?

https://github.com/hackndev/zinc/blob/master/ioreg/src/builder/setter.rs#L194-L197