From a5081c98324bf6eb5f4712afbf1db04f19a19f3d Mon Sep 17 00:00:00 2001 From: Will Speak Date: Sat, 10 Oct 2015 19:02:25 +0100 Subject: [PATCH] Fix Build to Compile with 1.5.0-nightly (87cd2c082) There was an extra, unused, paramter int he match arm which causes an error when compiling with the latest nightly. --- src/expr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expr.rs b/src/expr.rs index 325841fbfd1..7cc3e7fadf1 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -113,7 +113,7 @@ impl Rewrite for ast::Expr { offset, true) } - ast::Expr_::ExprMatch(ref cond, ref arms, _) => { + ast::Expr_::ExprMatch(ref cond, ref arms) => { rewrite_match(context, cond, arms, width, offset, self.span) } ast::Expr_::ExprPath(ref qself, ref path) => {