From 96844b163801720074caf2e5476269da0f88d671 Mon Sep 17 00:00:00 2001 From: Terts Diepraam Date: Fri, 1 Jul 2022 16:45:24 +0200 Subject: [PATCH] Allow the extra_unused_lifetimes lint in the context impl --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index a99edb6..5f2473c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -823,6 +823,7 @@ macro_rules! quick_error { { context($cvar:ident: $ctyp:ty, $fvar:ident: $ftyp:ty) -> ($( $texpr:expr ),*) $( $tail:tt )* } ) => { + #[allow(extra_unused_lifetimes)] impl<'a> From<$crate::Context<$ctyp, $ftyp>> for $name { fn from( $crate::Context($cvar, $fvar): $crate::Context<$ctyp, $ftyp>)