rust/tests/ui/generic-const-items/evaluatable-bounds.unconstrained.stderr
2023-07-28 22:23:20 +02:00

11 lines
292 B
Plaintext

error: unconstrained generic constant
--> $DIR/evaluatable-bounds.rs:16:5
|
LL | const ARRAY: [i32; Self::LEN];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: try adding a `where` bound using this expression: `where [(); Self::LEN]:`
error: aborting due to previous error