fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unconstrained generic constant 2 --> $DIR/fn_with_two_const_inputs.rs:12:5 3 | 4LL | bar() 5 | ^^^ 6 | 7 = help: try adding a `where` bound using this expression: `where [(); N + 1]:` 8note: required by a bound in `bar` 9 --> $DIR/fn_with_two_const_inputs.rs:18:10 10 | 11LL | fn bar<const N: usize>() -> [(); N] 12 | --- required by a bound in this function 13LL | where 14LL | [(); N + 1]:, 15 | ^^^^^ required by this bound in `bar` 16 17error: aborting due to previous error 18