1 #![feature(adt_const_params)]
2 //~^ WARN the feature `adt_const_params` is incomplete and may not be safe to use and/or cause compiler crashes [incomplete_features]
4 #[derive(PartialEq, Eq)]
10 fn foo<const N: Nat>() {}
11 //~^ ERROR `Box<Nat>` must be annotated with `#[derive(PartialEq, Eq)]` to be used as the type of a const parameter