]>
Commit | Line | Data |
---|---|---|
3dfed10e | 1 | error[E0573]: expected type, found const parameter `C` |
5869c6ff | 2 | --> $DIR/struct-with-invalid-const-param.rs:7:23 |
3dfed10e XL |
3 | | |
4 | LL | struct S<const C: u8>(C); | |
5 | | ^ not a type | |
6 | ||
7 | error: aborting due to previous error | |
8 | ||
9 | For more information about this error, try `rustc --explain E0573`. |