Files
rust/tests/ui/const-generics/generic_const_exprs/auxiliary/cross-crate-2.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
217 B
Rust
Raw Normal View History

2024-11-21 14:09:46 +01:00
#![allow(incomplete_features)]
#![feature(generic_const_exprs)]
2025-05-01 15:46:33 +01:00
pub struct Foo<const N: usize>;
2024-11-21 14:09:46 +01:00
2025-05-01 15:46:33 +01:00
impl<const N: usize> Foo<N>
2024-11-21 14:09:46 +01:00
where
[u8; N.div_ceil(8)]: Sized,
{
pub fn new() -> Self {
todo!()
}
}