]> git.lizzy.rs Git - rust.git/commit
rollup merge of #19413: P1start/more-trailing-commas
authorCorey Richardson <corey@octayn.net>
Fri, 5 Dec 2014 18:06:50 +0000 (10:06 -0800)
committerCorey Richardson <corey@octayn.net>
Fri, 5 Dec 2014 18:06:50 +0000 (10:06 -0800)
commit26f2867c2e5439156f40f18c5a828a5a94c4352a
treed17972e0c7eac56590fa02d71292497afd926e00
parent2af097da0dc198b7289eae61b9a97185fd55ae0c
parentf5715f7867ab7e13fd3304d85861b1dcb1375a89
rollup merge of #19413: P1start/more-trailing-commas

The only other place I know of that doesn’t allow trailing commas is closure types (#19414), and those are a bit tricky to fix (I suspect it might be impossible without infinite lookahead) so I didn’t implement that in this patch. There are other issues surrounding closure type parsing anyway, in particular #19410.
src/libsyntax/parse/attr.rs
src/libsyntax/parse/parser.rs