Files
rust/compiler/rustc_trait_selection
Jacob Pratt 6a92f83681 Rollup merge of #160117 - gkamathe:remove-unnecessary-format, r=mu001999
Remove unnecessary format usage

## Summary

Remove unnecessary uses of `format!()` in code where simpler alternatives exist in the same file.

For string literals (`format!("_")`, `format!("<")`, etc.): format! invokes the formatting machinery (creates Arguments, calls fmt::Write) only to produce an already-known constant string. Passing `"_"` directly is simpler, faster, and idiomatic.

No behavioral change — only removes redundant formatting calls.

## Test plan

- No new tests needed (no behavioral change)
- Existing UI tests for type mismatch diagnostics continue to pass
2026-07-29 20:48:19 -04:00
..
2026-07-27 10:33:18 +02:00