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

ices/80531.rs: fixed with no errors #605

Merged
merged 1 commit into from
Jan 2, 2021
Merged

Commits on Jan 2, 2021

  1. ices/80531.rs: fixed with no errors

    === stdout ===
    === stderr ===
    warning: unused variable: `field`
     --> /home/runner/work/glacier/glacier/ices/80531.rs:9:39
      |
    9 |     if let ConstGenericEnum::<N>::Foo(field, ..) = val {
      |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_field`
      |
      = note: `#[warn(unused_variables)]` on by default
    
    warning: enum is never used: `ConstGenericEnum`
     --> /home/runner/work/glacier/glacier/ices/80531.rs:3:6
      |
    3 | enum ConstGenericEnum<const N: usize> {
      |      ^^^^^^^^^^^^^^^^
      |
      = note: `#[warn(dead_code)]` on by default
    
    warning: function is never used: `foo`
     --> /home/runner/work/glacier/glacier/ices/80531.rs:8:4
      |
    8 | fn foo<const N: usize>(val: &ConstGenericEnum<N>) {
      |    ^^^
    
    warning: 3 warnings emitted
    
    ==============
    rustbot committed Jan 2, 2021
    Configuration menu
    Copy the full SHA
    6c994ab View commit details
    Browse the repository at this point in the history