FIXME include regions too
This commit is contained in:
parent
269383226f
commit
8189bac963
1 changed files with 4 additions and 1 deletions
|
@ -408,7 +408,10 @@ fn negative_impl_exists<'cx, 'tcx>(
|
|||
let tcx = infcx.tcx;
|
||||
o.flip_polarity(tcx)
|
||||
.as_ref()
|
||||
.map(|o| selcx.infcx().predicate_must_hold_modulo_regions(o))
|
||||
.map(|o| {
|
||||
// FIXME This isn't quite correct, regions should be included
|
||||
selcx.infcx().predicate_must_hold_modulo_regions(o)
|
||||
})
|
||||
.unwrap_or(false)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue