The new solver ignores DefineOpaqueTypes
, so switch it to Yes
We assert that we are in the new solver in the line above
This commit is contained in:
parent
85b884b058
commit
67334df1ea
@ -282,7 +282,7 @@ pub fn eq_structurally_relating_aliases<T>(self, a: T, b: T) -> InferResult<'tcx
|
||||
{
|
||||
let Trace { at, trace } = self;
|
||||
debug_assert!(at.infcx.next_trait_solver());
|
||||
let mut fields = at.infcx.combine_fields(trace, at.param_env, DefineOpaqueTypes::No);
|
||||
let mut fields = at.infcx.combine_fields(trace, at.param_env, DefineOpaqueTypes::Yes);
|
||||
fields
|
||||
.equate(StructurallyRelateAliases::Yes)
|
||||
.relate(a, b)
|
||||
|
Loading…
Reference in New Issue
Block a user