use stable extract_if: since 1.87
https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.extract_if
Oh, sometimes toolchain is https://github.com/rust-lang/rustc-perf/blob/1dcd547738b64d84a2def859163ed8df14bcb01f/.github/workflows/ci.yml#L40
but in other cases it https://github.com/rust-lang/rustc-perf/blob/1dcd547738b64d84a2def859163ed8df14bcb01f/.github/workflows/ci.yml#L379
I can hold this pr until 1.85 -> 1.87 bump.
Yeah, our MSRV is still 1.85.0. I think I'd like to hold off at least for one more stable release before we bump it.
Hi, if you rebase this, I can approve & merge, as we have bumped MSRV in https://github.com/rust-lang/rustc-perf/pull/2273.