normalize in trait_ref_is_knowable
in new solver
This commit is contained in:
parent
1e836d12d3
commit
9eeaf1fd13
10 changed files with 214 additions and 83 deletions
|
@ -1457,7 +1457,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
// bound regions.
|
||||
let trait_ref = predicate.skip_binder().trait_ref;
|
||||
|
||||
coherence::trait_ref_is_knowable(self.tcx(), trait_ref)
|
||||
coherence::trait_ref_is_knowable::<!>(self.tcx(), trait_ref, |ty| Ok(ty)).unwrap()
|
||||
}
|
||||
|
||||
/// Returns `true` if the global caches can be used.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue