rust/tests/ui/const-generics/generic_const_exprs/issue-109141.stderr

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

15 lines
553 B
Plaintext
Raw Normal View History

error[E0425]: cannot find value `HashesEntryLEN` in this scope
2024-09-21 00:17:13 +00:00
--> $DIR/issue-109141.rs:10:32
|
LL | struct EntriesBuffer(Box<[[u8; HashesEntryLEN]; 5]>);
| ^^^^^^^^^^^^^^ not found in this scope
|
help: you might be missing a const parameter
|
LL | struct EntriesBuffer<const HashesEntryLEN: /* Type */>(Box<[[u8; HashesEntryLEN]; 5]>);
| ++++++++++++++++++++++++++++++++++
2024-09-21 00:17:13 +00:00
error: aborting due to 1 previous error
2024-09-21 00:17:13 +00:00
For more information about this error, try `rustc --explain E0425`.