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

Commit

Permalink
ices/69239.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== 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`.
==============
  • Loading branch information
rustbot committed Nov 15, 2020
1 parent dfcf9b0 commit 48ed935
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 48ed935

Please sign in to comment.