rust/tests/crashes/118590.rs

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

12 lines
175 B
Rust
Raw Normal View History

2024-04-15 16:01:02 -05:00
//@ known-bug: #118590
fn main() {
recurse(std::iter::empty::<()>())
}
fn recurse(nums: impl Iterator) {
if true { return }
recurse(nums.skip(42).peekable())
}