From 63af3e6cd2a24a02ad38e47f37010fff30c19908 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 30 Dec 2014 21:03:26 -0500 Subject: [PATCH] time: unbox closures used in let bindings --- src/libtime/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtime/lib.rs b/src/libtime/lib.rs index 930aa027064..87a00334c47 100644 --- a/src/libtime/lib.rs +++ b/src/libtime/lib.rs @@ -596,7 +596,7 @@ impl<'a> fmt::Show for TmFmt<'a> { } fn parse_type(fmt: &mut fmt::Formatter, ch: char, tm: &Tm) -> fmt::Result { - let die = || { + let die = |&:| { unreachable!() }; match ch {