From 8e58c5c0b4edafea0d225d5e7e5c2dd2d5744d7e Mon Sep 17 00:00:00 2001 From: rustbot Date: Sun, 31 Mar 2024 03:06:45 +0000 Subject: [PATCH] ices/110726.rs: fixed with errors === stdout === === stderr === warning: function cannot return without recursing --> /home/runner/work/glacier/glacier/ices/110726.rs:1:1 | 1 | fn foo<'a>() -> impl Sized + 'a { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing 2 | let i: i32 = foo(); | ----- recursive call site | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default error[E0792]: expected generic lifetime parameter, found `'_` --> /home/runner/work/glacier/glacier/ices/110726.rs:2:18 | 1 | fn foo<'a>() -> impl Sized + 'a { | -- this generic parameter must be used with a generic lifetime parameter 2 | let i: i32 = foo(); | ^^^^^ error: aborting due to 1 previous error; 1 warning emitted For more information about this error, try `rustc --explain E0792`. ============== --- {ices => fixed}/110726.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/110726.rs (100%) diff --git a/ices/110726.rs b/fixed/110726.rs similarity index 100% rename from ices/110726.rs rename to fixed/110726.rs