This repository has been archived by the owner on May 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
=== 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<str>, 3 | | ) -> impl IntoIterator<Item = ()> { | |_________________________________^ 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<str>, | --------------- this generic parameter must be used with a generic type parameter 3 | ) -> impl IntoIterator<Item = ()> { 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`. ==============
- Loading branch information