Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
ices/66205.rs: fixed with no errors (#223)
Browse files Browse the repository at this point in the history
=== 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
github-actions[bot] authored and Alexendoo committed Dec 5, 2019
1 parent 7533d00 commit 03370fd
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 03370fd

Please sign in to comment.