Assert defining anchor is set in take_opaque_types
This commit is contained in:
parent
5132e13f13
commit
f769d34291
10 changed files with 13 additions and 19 deletions
|
@ -450,9 +450,6 @@ pub fn impossible_predicates<'tcx>(
|
|||
}
|
||||
let errors = ocx.select_all_or_error();
|
||||
|
||||
// Clean up after ourselves
|
||||
let _ = infcx.inner.borrow_mut().opaque_type_storage.take_opaque_types();
|
||||
|
||||
let result = !errors.is_empty();
|
||||
debug!("impossible_predicates = {:?}", result);
|
||||
result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue