Some manual rustfmt as rustfmt is broken on this file

This commit is contained in:
Oli Scherer 2023-10-30 13:48:34 +00:00
parent 251021c1ab
commit 43ff2a7e50

View File

@ -81,7 +81,8 @@ pub fn walk_types<'tcx, V: SpannedTypeVisitor<'tcx>>(
visitor.visit(span, tcx.type_of(item).instantiate_identity()); visitor.visit(span, tcx.type_of(item).instantiate_identity());
for (pred, span) in tcx.predicates_of(item).instantiate_identity(tcx) { for (pred, span) in tcx.predicates_of(item).instantiate_identity(tcx) {
visitor.visit(span, pred)?; visitor.visit(span, pred)?;
}} }
}
DefKind::TraitAlias | DefKind::Trait => { DefKind::TraitAlias | DefKind::Trait => {
for (pred, span) in tcx.predicates_of(item).instantiate_identity(tcx) { for (pred, span) in tcx.predicates_of(item).instantiate_identity(tcx) {
visitor.visit(span, pred)?; visitor.visit(span, pred)?;