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

ices/78246.rs: fixed with errors #656

Merged
merged 1 commit into from
Feb 17, 2021
Merged

ices/78246.rs: fixed with errors #656

merged 1 commit into from
Feb 17, 2021

Commits on Feb 17, 2021

  1. ices/78246.rs: fixed with errors

    === stdout ===
    === stderr ===
    warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes
     --> /home/runner/work/glacier/glacier/ices/78246.rs:1:12
      |
    1 | #![feature(const_generics, const_evaluatable_checked)]
      |            ^^^^^^^^^^^^^^
      |
      = note: `#[warn(incomplete_features)]` on by default
      = note: see issue #44580 <rust-lang/rust#44580> for more information
    
    warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes
     --> /home/runner/work/glacier/glacier/ices/78246.rs:1:28
      |
    1 | #![feature(const_generics, const_evaluatable_checked)]
      |                            ^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: see issue #76560 <rust-lang/rust#76560> for more information
    
    error[E0308]: mismatched types
      --> /home/runner/work/glacier/glacier/ices/78246.rs:15:28
       |
    15 |     fn into_bytes(self) -> Self::Array {}
       |        ----------          ^^^^^^^^^^^ expected array `[(); _]`, found `()`
       |        |
       |        implicitly returns `()` as its body has no tail or `return` expression
    
    error: aborting due to previous error; 2 warnings emitted
    
    For more information about this error, try `rustc --explain E0308`.
    ==============
    rustbot committed Feb 17, 2021
    Configuration menu
    Copy the full SHA
    a0047bf View commit details
    Browse the repository at this point in the history