about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-04-13 17:37:53 -0400
committerGitHub <noreply@github.com>2025-04-13 17:37:53 -0400
commitcd09162ac78628c849a7425230e9f71d4b932f52 (patch)
tree737a6d0de5a985cc9fbb55477cd92e23561b2c4a /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent346d33a5b7a8825caa6e59e68ed7cb24304f1110 (diff)
parentf80b12129ea8a58464a685abefd1f36819d3dd7b (diff)
downloadrust-cd09162ac78628c849a7425230e9f71d4b932f52.tar.gz
rust-cd09162ac78628c849a7425230e9f71d4b932f52.zip
Rollup merge of #139582 - oli-obk:coercion-cleanups, r=compiler-errors
Various coercion cleanups

I think the commit order is the most reasonable one, but there's probably more ways to get to the same goal.

Essentially I got rid of the `simple` and `identity` helpers by adding a dedicated function for the common `identity` case and getting rid of the callbacks alltogether by realizing that all callbacks were of the pattern "use this fixed prefix list of adjustments, then add another adjustment with the unified type as the target type".

No behavioral changes intended
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions