Cleanup
This commit is contained in:
parent
876192e8cd
commit
e76476afe4
11 changed files with 35 additions and 45 deletions
|
@ -31,7 +31,7 @@ fn inferred_outlives_of(tcx: TyCtxt<'_>, item_def_id: DefId) -> &[(ty::Predicate
|
|||
let mut pred: Vec<String> = predicates
|
||||
.iter()
|
||||
.map(|(out_pred, _)| {
|
||||
let binder = out_pred.kind();
|
||||
let binder = out_pred.bound_atom();
|
||||
match binder.skip_binder() {
|
||||
ty::PredicateAtom::RegionOutlives(p) => p.to_string(),
|
||||
ty::PredicateAtom::TypeOutlives(p) => p.to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue