You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 23, 2024. It is now read-only.
=== 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`.
==============
0 commit comments