blob: dd6c6b8de25af1a58f37cffc23a3db268b401f01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//@ check-pass
#![allow(clippy::uninlined_format_args)]
pub struct ArrayWrapper<const N: usize>([usize; N]);
impl<const N: usize> ArrayWrapper<{ N }> {
pub fn ice(&self) {
for i in self.0.iter() {
println!("{}", i);
}
}
}
fn main() {}
|