]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/struct-with-invalid-const-param.min.stderr
Auto merge of #79342 - CDirkx:ipaddr-const, r=oli-obk
[rust.git] / src / test / ui / const-generics / struct-with-invalid-const-param.min.stderr
1 error[E0573]: expected type, found const parameter `C`
2   --> $DIR/struct-with-invalid-const-param.rs:8: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`.