From 2c92ddeda7e2a8e9b6d6b629818eacdb96787575 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Thu, 1 Jan 2015 17:40:24 +1300 Subject: More fallout --- src/libsyntax/diagnostics/plugin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/diagnostics') 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()) } -- cgit 1.4.1-3-g733a5