Improve register_diagnostics macro#27067
Improve register_diagnostics macro#27067GuillaumeGomez wants to merge 2 commits intorust-lang:masterfrom
Conversation
|
you can also make the comma required by changing the existing thing to |
|
I can add this "feature" for others too, of course. However, I like to have choice to finish the macro with or without a comma. Let's see others' opinions. |
|
This looks fine to me. The Rust Way is to always allow trailing comma but never require it, so this seems consistent with that. |
|
@bors: r+ rollup |
|
📌 Commit a5d8c43 has been approved by |
|
@bors: r- (pending more changes) |
|
@bors: r+ rollup |
|
📌 Commit 6e58043 has been approved by |
|
⌛ Testing commit 6e58043 with merge b429d3d... |
|
💔 Test failed - auto-mac-64-nopt-t |
|
@bors: retry On Fri, Jul 17, 2015 at 7:27 AM, bors notifications@github.com wrote:
|
|
💔 Test failed - auto-linux-64-nopt-t |
|
@bors: retry On Fri, Jul 17, 2015 at 8:31 AM, bors notifications@github.com wrote:
|
|
Merged in #27098. I close. |
Now the macro argument list can be finished by a comma (not sure this is correct english...).
cc @tamird
r? @bluss