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

ices/90150.rs: fixed with errors #1017

Closed
wants to merge 1 commit into from
Closed

Commits on Nov 24, 2021

  1. ices/90150.rs: fixed with errors

    === stdout ===
    === stderr ===
    error[E0658]: inline-const in pattern position is experimental
      --> /home/runner/work/glacier/glacier/ices/90150.rs:10:9
       |
    10 |         const { foo(N) } => "fizz",
       |         ^^^^^
       |
       = note: see issue #76001 <rust-lang/rust#76001> for more information
       = help: add `#![feature(inline_const_pat)]` to the crate attributes to enable
    
    warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
     --> /home/runner/work/glacier/glacier/ices/90150.rs:2:12
      |
    2 | #![feature(generic_const_exprs)]
      |            ^^^^^^^^^^^^^^^^^^^
      |
      = note: `#[warn(incomplete_features)]` on by default
      = note: see issue #76560 <rust-lang/rust#76560> for more information
    
    error: aborting due to previous error; 1 warning emitted
    
    For more information about this error, try `rustc --explain E0658`.
    ==============
    rustbot committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    34c7838 View commit details
    Browse the repository at this point in the history