about summary refs log tree commit diff
path: root/tests/ui/const-generics/generic_const_exprs/issue-109141.rs
blob: 5303b24717353ee74c305d7937f3560102f26024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![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() {}