>>108706847 (Me)
>22nd and 23rd look like GOOD FINDS which are easy to reproduce in iterator code. Although they require an unstable feature and doing next_chunk::<0>() which probably shouldn't be allowed API-wise.
// trivial reproducer for 22nd since one wasn't included
#![feature(iter_next_chunk)]
fn main() {
let _ = dbg!{
std::iter::once(true)
.filter(|_| true)
.next_chunk::<0>()
};
}
Note that ^this^ doesn't trigger with the release profile. Read this if you're interested in why:
https://doc.rust-lang.org/nightly/std/mem/fn.needs_drop.html