From 4c9cb32a6211cd798a138b3ddc493c2da7b47fd5 Mon Sep 17 00:00:00 2001 From: rustbot Date: Thu, 31 Mar 2022 12:05:59 +0000 Subject: [PATCH] ices/67830.rs: fixed with errors === stdout === === stderr === error: implementation of `FnOnce` is not general enough --> /home/runner/work/glacier/glacier/ices/67830.rs:21:66 | 21 | fn test() -> impl for<'a> MyFn<&'a A, Output=impl Iterator + 'a> { | __________________________________________________________________^ 22 | | Wrap(|a| Some(a).into_iter()) 23 | | } | |_^ implementation of `FnOnce` is not general enough | = note: closure with signature `fn(&'2 A) -> std::option::IntoIter<&A>` must implement `FnOnce<(&'1 A,)>`, for any lifetime `'1`... = note: ...but it actually implements `FnOnce<(&'2 A,)>`, for some specific lifetime `'2` error: aborting due to previous error ============== --- {ices => fixed}/67830.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/67830.rs (100%) diff --git a/ices/67830.rs b/fixed/67830.rs similarity index 100% rename from ices/67830.rs rename to fixed/67830.rs