rust/tests/ui/const-generics/generic_const_exprs/issue-109141.rs
2024-09-20 20:24:22 -04:00

14 lines
285 B
Rust

#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
impl EntriesBuffer {
fn a(&self) -> impl Iterator {
self.0.iter_mut()
}
}
struct EntriesBuffer(Box<[[u8; HashesEntryLEN]; 5]>);
//~^ ERROR: cannot find value `HashesEntryLEN` in this scope
fn main() {}