rust/tests/crashes/118590.rs
2024-04-18 18:55:20 +02:00

12 lines
175 B
Rust

//@ known-bug: #118590
fn main() {
recurse(std::iter::empty::<()>())
}
fn recurse(nums: impl Iterator) {
if true { return }
recurse(nums.skip(42).peekable())
}