about summary refs log tree commit diff
path: root/tests/ui/const-generics/generic_const_exprs/auxiliary/cross-crate-2.rs
blob: a8bda14f4bd816d297fc7343cccfdc56c0686db7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![allow(incomplete_features)]
#![feature(generic_const_exprs)]

pub struct Foo<const N: usize>;

impl<const N: usize> Foo<N>
where
    [u8; N.div_ceil(8)]: Sized,
{
    pub fn new() -> Self {
        todo!()
    }
}