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

Commit

Permalink
ices/113021.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error[E0425]: cannot find value `N_ISLANDS` in this scope
 --> /home/runner/work/glacier/glacier/ices/113021.rs:3:40
  |
3 | pub async fn something(path: &[[usize; N_ISLANDS]; PrivateStruct]) -> usize {
  |                                        ^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `PrivateStruct` in this scope
 --> /home/runner/work/glacier/glacier/ices/113021.rs:3:52
  |
3 | pub async fn something(path: &[[usize; N_ISLANDS]; PrivateStruct]) -> usize {
  |                                                    ^^^^^^^^^^^^^ not found in this scope

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/113021.rs:1:12
  |
1 | #![feature(generic_const_exprs)]
  |            ^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #76560 <rust-lang/rust#76560> for more information
  = note: `#[warn(incomplete_features)]` on by default

error[E0730]: cannot pattern-match on an array without a fixed length
 --> /home/runner/work/glacier/glacier/ices/113021.rs:5:9
  |
5 |         [] | _ => 0,
  |         ^^

error: aborting due to 3 previous errors; 1 warning emitted

Some errors have detailed explanations: E0425, E0730.
For more information about an error, try `rustc --explain E0425`.
==============
  • Loading branch information
rustbot committed Oct 25, 2023
1 parent 716fb26 commit 8a5c450
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 8a5c450

Please sign in to comment.