Inline WhereClause into Generics.
This commit is contained in:
parent
71b4e2d852
commit
05b29f9a92
24 changed files with 98 additions and 139 deletions
|
@ -1281,7 +1281,7 @@ impl<'tcx> Visitor<'tcx> for DumpVisitor<'tcx> {
|
|||
}
|
||||
}
|
||||
}
|
||||
for pred in generics.where_clause.predicates {
|
||||
for pred in generics.predicates {
|
||||
if let hir::WherePredicate::BoundPredicate(ref wbp) = *pred {
|
||||
self.process_bounds(wbp.bounds);
|
||||
self.visit_ty(wbp.bounded_ty);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue