about summary refs log tree commit diff
path: root/src/libsyntax/diagnostics/plugin.rs
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2015-01-01 17:40:24 +1300
committerNick Cameron <ncameron@mozilla.com>2015-01-02 10:28:19 +1300
commit2c92ddeda7e2a8e9b6d6b629818eacdb96787575 (patch)
tree9543983dc912f84eb6c12a1db4531c17c280388e /src/libsyntax/diagnostics/plugin.rs
parent13392d19cae2b03883d531a47d660b985b98833b (diff)
downloadrust-2c92ddeda7e2a8e9b6d6b629818eacdb96787575.tar.gz
rust-2c92ddeda7e2a8e9b6d6b629818eacdb96787575.zip
More fallout
Diffstat (limited to 'src/libsyntax/diagnostics/plugin.rs')
-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())
 }