fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0425]: cannot find value `HashesEntryLEN` in this scope 2 --> $DIR/issue-109141.rs:10:32 3 | 4LL | struct EntriesBuffer(Box<[[u8; HashesEntryLEN]; 5]>); 5 | ^^^^^^^^^^^^^^ not found in this scope 6 | 7help: you might be missing a const parameter 8 | 9LL | struct EntriesBuffer<const HashesEntryLEN: /* Type */>(Box<[[u8; HashesEntryLEN]; 5]>); 10 | ++++++++++++++++++++++++++++++++++ 11 12error[E0596]: cannot borrow `*self.0` as mutable, as it is behind a `&` reference 13 --> $DIR/issue-109141.rs:6:9 14 | 15LL | self.0.iter_mut() 16 | ^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable 17 | 18help: consider changing this to be a mutable reference 19 | 20LL | fn a(&mut self) -> impl Iterator { 21 | ~~~~~~~~~ 22 23error: aborting due to 2 previous errors 24 25Some errors have detailed explanations: E0425, E0596. 26For more information about an error, try `rustc --explain E0425`.