summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-01-10 16:03:05 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-01-10 16:03:05 +0000
commit08fc5e8acd1bc41fbf5b8a4b5c96a42c16bab158 (patch)
tree1acecee18359016966b32994915b61500b0538e4 /compiler/rustc_trait_selection/src
parente9271846294c4ee5bd7706df68180320c0b5ff20 (diff)
downloadrust-08fc5e8acd1bc41fbf5b8a4b5c96a42c16bab158.tar.gz
rust-08fc5e8acd1bc41fbf5b8a4b5c96a42c16bab158.zip
Define hidden types in confirmation
Diffstat (limited to 'compiler/rustc_trait_selection/src')
-rw-r--r--compiler/rustc_trait_selection/src/traits/project.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/project.rs b/compiler/rustc_trait_selection/src/traits/project.rs
index dd4e69efe37..abbc2066eac 100644
--- a/compiler/rustc_trait_selection/src/traits/project.rs
+++ b/compiler/rustc_trait_selection/src/traits/project.rs
@@ -2466,7 +2466,7 @@ fn confirm_param_env_candidate<'cx, 'tcx>(
     debug!(?cache_projection, ?obligation_projection);
 
     match infcx.at(cause, param_env).eq(
-        DefineOpaqueTypes::No,
+        DefineOpaqueTypes::Yes,
         cache_projection,
         obligation_projection,
     ) {