mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-16 17:26:36 +00:00

Some `is_useful` cleanups #98582 was reverted because it was a perf regression. https://github.com/rust-lang/rust/pull/99806 reintroduces the changes, but this PR picks individual ones that have no regressions.