Skip to content

Commit 67334df

Browse files
committedApr 15, 2024
The new solver ignores DefineOpaqueTypes, so switch it to Yes
We assert that we are in the new solver in the line above
·
1.88.01.79.0
1 parent 85b884b commit 67334df

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_infer/src/infer

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_infer/src/infer/at.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ impl<'a, 'tcx> Trace<'a, 'tcx> {
282282
{
283283
let Trace { at, trace } = self;
284284
debug_assert!(at.infcx.next_trait_solver());
285-
let mut fields = at.infcx.combine_fields(trace, at.param_env, DefineOpaqueTypes::No);
285+
let mut fields = at.infcx.combine_fields(trace, at.param_env, DefineOpaqueTypes::Yes);
286286
fields
287287
.equate(StructurallyRelateAliases::Yes)
288288
.relate(a, b)

0 commit comments

Comments
 (0)
Please sign in to comment.