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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
294 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 1 previous error
2023-07-09 20:10:03 -05:00