fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: generic parameters may not be used in const operations 2 --> $DIR/issue-72787.rs:11:17 3 | 4LL | Condition<{ LHS <= RHS }>: True 5 | ^^^ cannot perform const operation using `LHS` 6 | 7 = help: const parameters may only be used as standalone arguments, i.e. `LHS` 8 = help: use `#![feature(generic_const_exprs)]` to allow generic const expressions 9 10error: generic parameters may not be used in const operations 11 --> $DIR/issue-72787.rs:11:24 12 | 13LL | Condition<{ LHS <= RHS }>: True 14 | ^^^ cannot perform const operation using `RHS` 15 | 16 = help: const parameters may only be used as standalone arguments, i.e. `RHS` 17 = help: use `#![feature(generic_const_exprs)]` to allow generic const expressions 18 19error: generic parameters may not be used in const operations 20 --> $DIR/issue-72787.rs:23:25 21 | 22LL | IsLessOrEqual<{ 8 - I }, { 8 - J }>: True, 23 | ^ cannot perform const operation using `I` 24 | 25 = help: const parameters may only be used as standalone arguments, i.e. `I` 26 = help: use `#![feature(generic_const_exprs)]` to allow generic const expressions 27 28error: generic parameters may not be used in const operations 29 --> $DIR/issue-72787.rs:23:36 30 | 31LL | IsLessOrEqual<{ 8 - I }, { 8 - J }>: True, 32 | ^ cannot perform const operation using `J` 33 | 34 = help: const parameters may only be used as standalone arguments, i.e. `J` 35 = help: use `#![feature(generic_const_exprs)]` to allow generic const expressions 36 37error: aborting due to 4 previous errors 38