mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 00:24:52 +00:00
Use DefiningOpaqueTypes::Yes
, as the InferCtxt
we use has no opaque types it may define
This commit is contained in:
parent
07d0d7ce3f
commit
6bff7f45f1
|
@ -789,7 +789,7 @@ fn evaluate_nested_obligations(
|
|||
|
||||
match (evaluate(c1), evaluate(c2)) {
|
||||
(Ok(c1), Ok(c2)) => {
|
||||
match selcx.infcx.at(&obligation.cause, obligation.param_env).eq(DefineOpaqueTypes::No,c1, c2)
|
||||
match selcx.infcx.at(&obligation.cause, obligation.param_env).eq(DefineOpaqueTypes::Yes,c1, c2)
|
||||
{
|
||||
Ok(_) => (),
|
||||
Err(_) => return false,
|
||||
|
|
Loading…
Reference in a new issue