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

Commit

Permalink
ices/60814.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== 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/60814.rs:1:12
  |
1 | #![feature(const_generics)]
  |            ^^^^^^^^^^^^^^
  |
  = note: `#[warn(incomplete_features)]` on by default
  = note: see issue #44580 <rust-lang/rust#44580> for more information

error[E0771]: use of non-static lifetime `'a` in const generic
 --> /home/runner/work/glacier/glacier/ices/60814.rs:3:45
  |
3 | pub fn function_with_str<'a, const STRING: &'a str>() {
  |                                             ^^
  |
  = note: for more information, see issue #74052 <rust-lang/rust#74052>

error: aborting due to previous error; 1 warning emitted

For more information about this error, try `rustc --explain E0771`.
==============
  • Loading branch information
rustbot committed Jul 23, 2020
1 parent 3c602de commit 6cda7fe
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 6cda7fe

Please sign in to comment.