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

ices/111906-1.rs: fixed with no errors #1721

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 31, 2024

  1. ices/111906-1.rs: fixed with no errors

    === stdout ===
    === stderr ===
    warning: function cannot return without recursing
     --> /home/runner/work/glacier/glacier/ices/111906-1.rs:1:1
      |
    1 | fn foo<'a: 'a>() -> impl Sized {
      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
    2 |     let _: () = foo::<'a>();
      |                 ----------- recursive call site
      |
      = help: a `loop` may express intention better if this is on purpose
      = note: `#[warn(unconditional_recursion)]` on by default
    
    warning: function `foo` is never used
     --> /home/runner/work/glacier/glacier/ices/111906-1.rs:1:4
      |
    1 | fn foo<'a: 'a>() -> impl Sized {
      |    ^^^
      |
      = note: `#[warn(dead_code)]` on by default
    
    warning: 2 warnings emitted
    
    ==============
    rustbot committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    7c3c9d8 View commit details
    Browse the repository at this point in the history