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

ices/69239.rs: fixed with errors #541

Merged
merged 1 commit into from
Nov 16, 2020
Merged

ices/69239.rs: fixed with errors #541

merged 1 commit into from
Nov 16, 2020

Commits on Nov 15, 2020

  1. ices/69239.rs: fixed with errors

    === stdout ===
    === stderr ===
    error[E0658]: const generics are unstable
     --> /home/runner/work/glacier/glacier/ices/69239.rs:1:19
      |
    1 | trait Trait<const S: &'static str> {}
      |                   ^
      |
      = note: see issue #74878 <rust-lang/rust#74878> for more information
      = help: add `#![feature(min_const_generics)]` to the crate attributes to enable
    
    error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library
     --> /home/runner/work/glacier/glacier/ices/69239.rs:5:15
      |
    5 |     T: Trait<{std::intrinsics::type_name::<T>()}>
      |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
    
    error: `std::intrinsics::type_name` is not yet stable as a const fn
     --> /home/runner/work/glacier/glacier/ices/69239.rs:5:15
      |
    5 |     T: Trait<{std::intrinsics::type_name::<T>()}>
      |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: add `#![feature(const_type_name)]` to the crate attributes to enable
    
    error: aborting due to 3 previous errors
    
    For more information about this error, try `rustc --explain E0658`.
    ==============
    rustbot committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    48ed935 View commit details
    Browse the repository at this point in the history