fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: const parameters are not permitted in const functions 2 --> $DIR/const-fn-with-const-param.rs:4:1 3 | 4LL | const fn const_u32_identity<const X: u32>() -> u32 { 5 | ^---- 6 | | 7 | _`const` because of this 8 | | 9LL | | 10LL | | X 11LL | | } 12 | |_^ 13 14warning: the feature `const_generics` is incomplete and may cause the compiler to crash 15 --> $DIR/const-fn-with-const-param.rs:1:12 16 | 17LL | #![feature(const_generics)] 18 | ^^^^^^^^^^^^^^ 19 | 20 = note: `#[warn(incomplete_features)]` on by default 21 22error: aborting due to previous error 23