fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0573]: expected type, found const parameter `C` 2 --> $DIR/struct-with-invalid-const-param.rs:4:23 3 | 4LL | struct S<const C: u8>(C); 5 | ^ help: a struct with a similar name exists: `S` 6 7warning: the feature `const_generics` is incomplete and may cause the compiler to crash 8 --> $DIR/struct-with-invalid-const-param.rs:1:12 9 | 10LL | #![feature(const_generics)] 11 | ^^^^^^^^^^^^^^ 12 | 13 = note: `#[warn(incomplete_features)]` on by default 14 15error: aborting due to previous error 16