fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error: const parameters are not permitted in `const fn` 2 --> $DIR/const-fn-with-const-param.rs:4:1 3 | 4LL | / const fn const_u32_identity<const X: u32>() -> u32 { 5LL | | 6LL | | X 7LL | | } 8 | |_^ 9 10warning: the feature `const_generics` is incomplete and may cause the compiler to crash 11 --> $DIR/const-fn-with-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