rust/tests/crashes/122638.rs
2024-04-14 11:21:51 +02:00

13 lines
376 B
Rust

//@ known-bug: #122638
#![feature(min_specialization)]
impl<'a, T: std::fmt::Debug, const N: usize> Iterator for ConstChunksExact<'a, T, { N }> {
fn next(&mut self) -> Option<Self::Item> {}
}
struct ConstChunksExact<'a, T: '_, const assert: usize> {}
impl<'a, T: std::fmt::Debug, const N: usize> Iterator for ConstChunksExact<'a, T, {}> {
type Item = &'a [T; N];
}