about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/solve/select.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-04-16 19:47:56 +0000
committerMichael Goulet <michael@errs.io>2025-04-16 20:05:55 +0000
commit3863018d960ad8bf6dd631f31f9d487e4a9880f1 (patch)
treea1b28db7f215da5de55fd3e56e6dedb633fd8435 /compiler/rustc_trait_selection/src/solve/select.rs
parentc6aad02ddbc1c6bd01d52a08fa78c737f26abfad (diff)
downloadrust-3863018d960ad8bf6dd631f31f9d487e4a9880f1.tar.gz
rust-3863018d960ad8bf6dd631f31f9d487e4a9880f1.zip
Fix replacing supertrait aliases in ReplaceProjectionWith
Diffstat (limited to 'compiler/rustc_trait_selection/src/solve/select.rs')
-rw-r--r--compiler/rustc_trait_selection/src/solve/select.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/solve/select.rs b/compiler/rustc_trait_selection/src/solve/select.rs
index 4437fc5b029..4fdaf740287 100644
--- a/compiler/rustc_trait_selection/src/solve/select.rs
+++ b/compiler/rustc_trait_selection/src/solve/select.rs
@@ -177,7 +177,7 @@ fn to_selection<'tcx>(
         },
         ProbeKind::NormalizedSelfTyAssembly
         | ProbeKind::UnsizeAssembly
-        | ProbeKind::UpcastProjectionCompatibility
+        | ProbeKind::ProjectionCompatibility
         | ProbeKind::OpaqueTypeStorageLookup { result: _ }
         | ProbeKind::Root { result: _ }
         | ProbeKind::ShadowedEnvProbing