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

1  2 
src/libsyntax/parse/attr.rs
src/libsyntax/parse/parser.rs

Simple merge
Simple merge