]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/impl-trait/issue-49685.rs
2 // Regression test for #49685: drop elaboration was not revealing the
3 // value of `impl Trait` returns, leading to an ICE.
8 .flat_map(|_
| Some(()).into_iter().flat_map(func
));
11 fn func(_
: ()) -> impl Iterator
<Item
= ()> {
12 Some(()).into_iter().flat_map(|_
| vec
![])