mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
13 lines
376 B
Rust
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];
|
|
}
|