1 error[E0573]: expected type, found const parameter `C`
2 --> $DIR/struct-with-invalid-const-param.rs:8:23
4 LL | struct S<const C: u8>(C);
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0573`.