rust/tests/crashes/126850.rs

12 lines
205 B
Rust
Raw Normal View History

2024-06-23 16:14:44 +00:00
//@ known-bug: rust-lang/rust#126850
fn bug<T>() -> impl Iterator<
Item = [(); {
|found: &String| Some(false);
4
}],
> {
std::iter::empty()
}
fn main() {}