1 error: generic parameters must not be used inside of non trivial constant values
2 --> $DIR/issue-72787.rs:11:17
4 LL | Condition<{ LHS <= RHS }>: True
5 | ^^^ non-trivial anonymous constants must not depend on the parameter `LHS`
7 = help: it is currently only allowed to use either `LHS` or `{ LHS }` as generic constants
9 error: generic parameters must not be used inside of non trivial constant values
10 --> $DIR/issue-72787.rs:11:24
12 LL | Condition<{ LHS <= RHS }>: True
13 | ^^^ non-trivial anonymous constants must not depend on the parameter `RHS`
15 = help: it is currently only allowed to use either `RHS` or `{ RHS }` as generic constants
17 error: generic parameters must not be used inside of non trivial constant values
18 --> $DIR/issue-72787.rs:26:25
20 LL | IsLessOrEqual<{ 8 - I }, { 8 - J }>: True,
21 | ^ non-trivial anonymous constants must not depend on the parameter `I`
23 = help: it is currently only allowed to use either `I` or `{ I }` as generic constants
25 error: generic parameters must not be used inside of non trivial constant values
26 --> $DIR/issue-72787.rs:26:36
28 LL | IsLessOrEqual<{ 8 - I }, { 8 - J }>: True,
29 | ^ non-trivial anonymous constants must not depend on the parameter `J`
31 = help: it is currently only allowed to use either `J` or `{ J }` as generic constants
33 error[E0283]: type annotations needed
34 --> $DIR/issue-72787.rs:22:26
36 LL | pub trait True {}
37 | -------------- required by this bound in `True`
39 LL | IsLessOrEqual<I, 8>: True,
40 | ^^^^ cannot infer type for struct `IsLessOrEqual<I, 8_u32>`
42 = note: cannot satisfy `IsLessOrEqual<I, 8_u32>: True`
44 error[E0283]: type annotations needed
45 --> $DIR/issue-72787.rs:22:26
47 LL | pub trait True {}
48 | -------------- required by this bound in `True`
50 LL | IsLessOrEqual<I, 8>: True,
51 | ^^^^ cannot infer type for struct `IsLessOrEqual<I, 8_u32>`
53 = note: cannot satisfy `IsLessOrEqual<I, 8_u32>: True`
55 error: aborting due to 6 previous errors
57 For more information about this error, try `rustc --explain E0283`.