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

Commit

Permalink
ices/99641.sh: fixed with 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
 --> <anon>:2:12
  |
2 | #![feature(adt_const_params)]
  |            ^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(incomplete_features)]` on by default
  = note: see issue #95174 <rust-lang/rust#95174> for more information

error[E0741]: using function pointers as const generic parameters is forbidden
 --> <anon>:5:35
  |
5 |     pub struct Color<const WHITE: (fn(),)>;
  |                                   ^^^^^^^

error[E0741]: using function pointers as const generic parameters is forbidden
 --> <anon>:7:23
  |
7 |     impl<const WHITE: (fn(),)> Color<WHITE> {
  |                       ^^^^^^^

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

For more information about this error, try `rustc --explain E0741`.
==============
  • Loading branch information
rustbot committed Jul 28, 2022
1 parent 3db4cee commit b50ad57
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit b50ad57

Please sign in to comment.