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.
ices/66205.rs: fixed with no errors (#223)
=== stdout === === stderr === warning: the feature `const_generics` is incomplete and may cause the compiler to crash --> /home/runner/work/glacier/glacier/ices/66205.rs:1:12 | 1 | #![feature(const_generics)] | ^^^^^^^^^^^^^^ | = note: `#[warn(incomplete_features)]` on by default warning: function cannot return without recursing --> /home/runner/work/glacier/glacier/ices/66205.rs:3:1 | 3 | fn fact<const N: usize>() { | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing 4 | fact::<{ N - 1 }>(); | ------------------- recursive call site | = note: `#[warn(unconditional_recursion)]` on by default = help: a `loop` may express intention better if this is on purpose warning: function is never used: `fact` --> /home/runner/work/glacier/glacier/ices/66205.rs:3:4 | 3 | fn fact<const N: usize>() { | ^^^^ | = note: `#[warn(dead_code)]` on by default ==============
- Loading branch information