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!()
}
}
|