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

Commit

Permalink
ices/113375.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error: `[u8; Bar::<u32>::value()]` is forbidden as the type of a const generic parameter
  --> /home/runner/work/glacier/glacier/ices/113375.rs:11:21
   |
11 | struct Foo<const N: [u8; Bar::<u32>::value()]>;
   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the only supported types are integers, `bool` and `char`
   = help: more complex types are supported with `#![feature(adt_const_params)]`

error: aborting due to previous error

==============
  • Loading branch information
rustbot committed Aug 9, 2023
1 parent 9bcaa67 commit 172d212
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 172d212

Please sign in to comment.