about summary refs log tree commit diff
path: root/tests/ui/const-generics/generic_const_exprs/issue-109141.stderr
blob: fcbd69045997295d0a228c44edbd843fc77ff138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0425]: cannot find value `HashesEntryLEN` in this scope
  --> $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]>);
   |                     ++++++++++++++++++++++++++++++++++

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0425`.