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