fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
496 B18 linesraw
1error: unconstrained generic constant
2  --> $DIR/ensure_is_evaluatable.rs:9: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/ensure_is_evaluatable.rs:15: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