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