Rollup merge of #137776 - nnethercote:rustc_transmute-cleanups, r=jswrenn

Some `rustc_transmute` cleanups

A number of small things that can be removed.

r? ``@jswrenn``
This commit is contained in:
Matthias Krüger
2025-03-01 11:34:01 +01:00
committed by GitHub
14 changed files with 32 additions and 85 deletions

View File

@@ -617,7 +617,6 @@ where
)?;
let certainty = ecx.is_transmutable(
goal.param_env,
goal.predicate.trait_ref.args.type_at(0),
goal.predicate.trait_ref.args.type_at(1),
assume,