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

Commit

Permalink
ices/93647-2.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error[E0601]: `main` function not found in crate `93647_2`
 --> /home/runner/work/glacier/glacier/ices/93647-2.rs:1:1
  |
1 | / struct X<const N: usize = {
2 | |     || {}
3 | | }>;
  | |___^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/93647-2.rs`

error[E0308]: mismatched types
 --> /home/runner/work/glacier/glacier/ices/93647-2.rs:2:5
  |
2 |     || {}
  |     ^^^^^ expected `usize`, found closure
  |
  = note: expected type `usize`
          found closure `[closure@/home/runner/work/glacier/glacier/ices/93647-2.rs:2:5: 2:10]`

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0308, E0601.
For more information about an error, try `rustc --explain E0308`.
==============
  • Loading branch information
rustbot committed Feb 7, 2022
1 parent 63cdf10 commit 0f3c728
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 0f3c728

Please sign in to comment.