1 warning: the feature `adt_const_params` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/issue-80471.rs:1:12
4 LL | #![feature(adt_const_params)]
7 = note: see issue #95174 <https://github.com/rust-lang/rust/issues/95174> for more information
8 = note: `#[warn(incomplete_features)]` on by default
10 error[E0741]: `Box<Nat>` must be annotated with `#[derive(PartialEq, Eq)]` to be used as the type of a const parameter
11 --> $DIR/issue-80471.rs:10:17
13 LL | fn foo<const N: Nat>() {}
16 error: aborting due to previous error; 1 warning emitted
18 For more information about this error, try `rustc --explain E0741`.