You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 23, 2024. It is now read-only.
=== 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`.
==============
0 commit comments