Cleanup
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user