1 error[E0053]: type `Foo` has an incompatible generic parameter for trait `Trait`
2 --> $DIR/const_params_have_right_type.rs:6:14
6 LL | type Foo<const N: u8>;
7 | ----------- expected const parameter of type `u8`
9 LL | impl Trait for () {
11 LL | type Foo<const N: u64> = u32;
12 | ^^^^^^^^^^^^ found const parameter of type `u64`
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0053`.