A conservative "stop looking" heuristic would prevent the regressions in https://github.com/rust-lang/rust/issues/119560 from surfacing.