2020-10-12 16:27:59 -05:00
|
|
|
error: generic parameters may not be used in const operations
|
2021-11-26 09:14:16 -06:00
|
|
|
--> $DIR/issue-72787.rs:11:17
|
2020-09-09 06:28:41 -05:00
|
|
|
|
|
|
|
|
LL | Condition<{ LHS <= RHS }>: True
|
2020-10-11 10:47:45 -05:00
|
|
|
| ^^^ cannot perform const operation using `LHS`
|
2020-09-09 06:28:41 -05:00
|
|
|
|
|
2020-10-12 16:27:59 -05:00
|
|
|
= help: const parameters may only be used as standalone arguments, i.e. `LHS`
|
2023-11-30 13:59:51 -06:00
|
|
|
= help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
|
2020-09-09 06:28:41 -05:00
|
|
|
|
2020-10-12 16:27:59 -05:00
|
|
|
error: generic parameters may not be used in const operations
|
2021-11-26 09:14:16 -06:00
|
|
|
--> $DIR/issue-72787.rs:11:24
|
2020-09-09 06:28:41 -05:00
|
|
|
|
|
|
|
|
LL | Condition<{ LHS <= RHS }>: True
|
2020-10-11 10:47:45 -05:00
|
|
|
| ^^^ cannot perform const operation using `RHS`
|
2020-09-09 06:28:41 -05:00
|
|
|
|
|
2020-10-12 16:27:59 -05:00
|
|
|
= help: const parameters may only be used as standalone arguments, i.e. `RHS`
|
2023-11-30 13:59:51 -06:00
|
|
|
= help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
|
2020-09-09 06:28:41 -05:00
|
|
|
|
2020-10-12 16:27:59 -05:00
|
|
|
error: generic parameters may not be used in const operations
|
2023-01-01 17:48:10 -06:00
|
|
|
--> $DIR/issue-72787.rs:23:25
|
2020-09-09 06:28:41 -05:00
|
|
|
|
|
|
|
|
LL | IsLessOrEqual<{ 8 - I }, { 8 - J }>: True,
|
2020-10-11 10:47:45 -05:00
|
|
|
| ^ cannot perform const operation using `I`
|
2020-09-09 06:28:41 -05:00
|
|
|
|
|
2020-10-12 16:27:59 -05:00
|
|
|
= help: const parameters may only be used as standalone arguments, i.e. `I`
|
2023-11-30 13:59:51 -06:00
|
|
|
= help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
|
2020-09-09 06:28:41 -05:00
|
|
|
|
2020-10-12 16:27:59 -05:00
|
|
|
error: generic parameters may not be used in const operations
|
2023-01-01 17:48:10 -06:00
|
|
|
--> $DIR/issue-72787.rs:23:36
|
2020-09-09 06:28:41 -05:00
|
|
|
|
|
|
|
|
LL | IsLessOrEqual<{ 8 - I }, { 8 - J }>: True,
|
2020-10-11 10:47:45 -05:00
|
|
|
| ^ cannot perform const operation using `J`
|
2020-09-09 06:28:41 -05:00
|
|
|
|
|
2020-10-12 16:27:59 -05:00
|
|
|
= help: const parameters may only be used as standalone arguments, i.e. `J`
|
2023-11-30 13:59:51 -06:00
|
|
|
= help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
|
2020-09-09 06:28:41 -05:00
|
|
|
|
2023-01-01 17:48:10 -06:00
|
|
|
error: aborting due to 4 previous errors
|
2020-09-09 06:28:41 -05:00
|
|
|
|