2023-07-09 20:10:03 -05:00
|
|
|
error: unconstrained generic constant
|
|
|
|
--> $DIR/evaluatable-bounds.rs:16:5
|
|
|
|
|
|
|
|
|
LL | const ARRAY: [i32; Self::LEN];
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2024-03-20 19:03:59 -05:00
|
|
|
help: try adding a `where` bound
|
|
|
|
|
|
|
|
|
LL | const ARRAY: [i32; Self::LEN] where [(); Self::LEN]:;
|
|
|
|
| ++++++++++++++++++++++
|
2023-07-09 20:10:03 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-07-09 20:10:03 -05:00
|
|
|
|