]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/struct-with-invalid-const-param.stderr
Auto merge of #105924 - TimNN:ui-remap, r=Mark-Simulacrum
[rust.git] / tests / ui / const-generics / struct-with-invalid-const-param.stderr
1 error[E0573]: expected type, found const parameter `C`
2   --> $DIR/struct-with-invalid-const-param.rs:3:23
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`.