mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-06 08:36:52 -04:00
cb40c25f6a
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