rust/tests/crashes/122638.rs

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

13 lines
376 B
Rust
Raw Normal View History

//@ 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];
}