Some manual rustfmt as rustfmt is broken on this file
This commit is contained in:
parent
251021c1ab
commit
43ff2a7e50
@ -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)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user