rust/tests/ui/generic-const-items/evaluatable-bounds.unconstrained.stderr

11 lines
292 B
Plaintext
Raw Normal View History

2023-07-09 20:10:03 -05:00
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