Cleanup
This commit is contained in:
parent
876192e8cd
commit
e76476afe4
11 changed files with 35 additions and 45 deletions
|
@ -9,7 +9,7 @@ pub fn anonymize_predicate<'tcx>(
|
|||
tcx: TyCtxt<'tcx>,
|
||||
pred: ty::Predicate<'tcx>,
|
||||
) -> ty::Predicate<'tcx> {
|
||||
let new = tcx.anonymize_late_bound_regions(pred.kind());
|
||||
let new = tcx.anonymize_late_bound_regions(pred.bound_atom());
|
||||
tcx.reuse_or_mk_predicate(pred, new)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue