mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
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 @@ impl<'a, 'tcx> Trace<'a, '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