From a845a822f0a0a58e7e691fa307536cf28e020fc6 Mon Sep 17 00:00:00 2001 From: rustbot Date: Tue, 15 Aug 2023 03:07:16 +0000 Subject: [PATCH] ices/101852.rs: fixed with errors === stdout === === stderr === warning: function cannot return without recursing --> /home/runner/work/glacier/glacier/ices/101852.rs:1:1 | 1 | / pub fn ice( 2 | | x: impl AsRef, 3 | | ) -> impl IntoIterator { | |_________________________________^ cannot return without recursing 4 | vec![].append(&mut ice(x.as_ref())); | --------------- 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 type parameter, found `&str` --> /home/runner/work/glacier/glacier/ices/101852.rs:4:5 | 2 | x: impl AsRef, | --------------- this generic parameter must be used with a generic type parameter 3 | ) -> impl IntoIterator { 4 | vec![].append(&mut ice(x.as_ref())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error; 1 warning emitted For more information about this error, try `rustc --explain E0792`. ============== --- {ices => fixed}/101852.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/101852.rs (100%) diff --git a/ices/101852.rs b/fixed/101852.rs similarity index 100% rename from ices/101852.rs rename to fixed/101852.rs