1 warning: the feature `adt_const_params` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/refs_check_const_eq-issue-88384.rs:2:12
4 LL | #![feature(adt_const_params)]
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #95174 <https://github.com/rust-lang/rust/issues/95174> for more information
10 error[E0741]: using function pointers as const generic parameters is forbidden
11 --> $DIR/refs_check_const_eq-issue-88384.rs:10:21
13 LL | struct Foo<const T: CompileTimeSettings>;
16 error[E0741]: using function pointers as const generic parameters is forbidden
17 --> $DIR/refs_check_const_eq-issue-88384.rs:13:15
19 LL | impl<const T: CompileTimeSettings> Foo<T> {
22 error: aborting due to 2 previous errors; 1 warning emitted
24 For more information about this error, try `rustc --explain E0741`.