fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.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 | ----------------------^-- 6 | | | 7 | | help: a struct with a similar name exists: `S` 8 | similarly named struct `S` defined here 9 10warning: the feature `const_generics` is incomplete and may cause the compiler to crash 11 --> $DIR/struct-with-invalid-const-param.rs:1:12 12 | 13LL | #![feature(const_generics)] 14 | ^^^^^^^^^^^^^^ 15 | 16 = note: `#[warn(incomplete_features)]` on by default 17 18error: aborting due to previous error 19 20For more information about this error, try `rustc --explain E0573`.