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

Commit

Permalink
ices/97047-1.rs: fixed with no errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
warning: the feature `adt_const_params` is incomplete and may not be safe to use and/or cause compiler crashes
 --> /home/runner/work/glacier/glacier/ices/97047-1.rs:1:12
  |
1 | #![feature(adt_const_params, generic_const_exprs)]
  |            ^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(incomplete_features)]` on by default
  = note: see issue #95174 <rust-lang/rust#95174> for more information

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/97047-1.rs:1:30
  |
1 | #![feature(adt_const_params, generic_const_exprs)]
  |                              ^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #76560 <rust-lang/rust#76560> for more information

warning: field `changes` is never read
 --> /home/runner/work/glacier/glacier/ices/97047-1.rs:7:5
  |
3 | pub struct Changes<const CHANGES: &'static [&'static str]>
  |            ------- field in this struct
...
7 |     changes: [usize; CHANGES.len()],
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(dead_code)]` on by default

warning: 3 warnings emitted

==============
  • Loading branch information
rustbot committed Jun 30, 2022
1 parent f2448af commit dc76ac8
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit dc76ac8

Please sign in to comment.