]>
Commit | Line | Data |
---|---|---|
ba9703b0 | 1 | error: constant expression depends on a generic parameter |
e1599b0c XL |
2 | --> $DIR/too_generic_eval_ice.rs:7:13 |
3 | | | |
e1599b0c | 4 | LL | [5; Self::HOST_SIZE] == [6; 0] |
ba9703b0 | 5 | | ^^^^^^^^^^^^^^^ |
e1599b0c | 6 | | |
ba9703b0 | 7 | = note: this may fail depending on what value the parameter takes |
e1599b0c | 8 | |
ba9703b0 XL |
9 | error[E0369]: binary operation `==` cannot be applied to type `[{integer}; _]` |
10 | --> $DIR/too_generic_eval_ice.rs:7:30 | |
e1599b0c | 11 | | |
e1599b0c | 12 | LL | [5; Self::HOST_SIZE] == [6; 0] |
ba9703b0 XL |
13 | | -------------------- ^^ ------ [{integer}; 0] |
14 | | | | |
15 | | [{integer}; _] | |
e1599b0c | 16 | |
ba9703b0 | 17 | error: aborting due to 2 previous errors |
e1599b0c | 18 | |
ba9703b0 | 19 | For more information about this error, try `rustc --explain E0369`. |