This repository has been archived by the owner on May 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
=== 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