about summary refs log tree commit diff
path: root/src/libsyntax/diagnostics
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-01-02 02:31:12 +0000
committerbors <bors@rust-lang.org>2015-01-02 02:31:12 +0000
commitcd614164e692cca3a1460737f581fcb6d4630baf (patch)
tree9543983dc912f84eb6c12a1db4531c17c280388e /src/libsyntax/diagnostics
parent39d74026663597a8d4ad0ab04e6d117bf9fd6ad4 (diff)
parent2c92ddeda7e2a8e9b6d6b629818eacdb96787575 (diff)
downloadrust-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.rs2
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())
 }