mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-22 20:47:48 +00:00
11 lines
292 B
Plaintext
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
|
||
|
|