diff options
| author | bors <bors@rust-lang.org> | 2015-01-02 02:31:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-02 02:31:12 +0000 |
| commit | cd614164e692cca3a1460737f581fcb6d4630baf (patch) | |
| tree | 9543983dc912f84eb6c12a1db4531c17c280388e /src/libsyntax/diagnostics | |
| parent | 39d74026663597a8d4ad0ab04e6d117bf9fd6ad4 (diff) | |
| parent | 2c92ddeda7e2a8e9b6d6b629818eacdb96787575 (diff) | |
| download | rust-cd614164e692cca3a1460737f581fcb6d4630baf.tar.gz rust-cd614164e692cca3a1460737f581fcb6d4630baf.zip | |
auto merge of #20387 : nick29581/rust/arrays-2, r=alexcrichton
Closes #19999
Diffstat (limited to 'src/libsyntax/diagnostics')
| -rw-r--r-- | src/libsyntax/diagnostics/plugin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/diagnostics/plugin.rs b/src/libsyntax/diagnostics/plugin.rs index 90fc28014e6..720a907fe77 100644 --- a/src/libsyntax/diagnostics/plugin.rs +++ b/src/libsyntax/diagnostics/plugin.rs @@ -119,6 +119,6 @@ pub fn expand_build_diagnostic_array<'cx>(ecx: &'cx mut ExtCtxt, }); MacItems::new(vec![quote_item!(ecx, - pub static $name: [(&'static str, &'static str), ..$count] = $expr; + pub static $name: [(&'static str, &'static str); $count] = $expr; ).unwrap()].into_iter()) } |
