Files
rust/compiler
bors cb40c25f6a Auto merge of #156139 - inq:minimize-reshell-perf, r=lcnr
Short-circuit `calculate_fallback_to_f32` when no float vars

Sharing a small fix.

When no unresolved variable is a `float_vid`, no f32 fallback can apply,
so we can skip `from_float_for_f32_root_vids` (which walks the proof tree
of every pending obligation under the new solver — O(N × M) on crates
with many large obligations).

On ReShell: stage1 wall-clock 2m35s → 1m46s (-49s, ~31%).

Context + profile breakdown will be linked at
rust-lang/trait-system-refactor-initiative#254 after this PR opens.

r? @lcnr
2026-05-04 14:02:18 +00:00
..
2026-05-04 14:05:16 +10:00