This commit is contained in:
Esteban Küber 2019-01-06 14:08:08 -08:00
parent a873337f21
commit f9e10f1aee

View File

@ -730,7 +730,12 @@ https://doc.rust-lang.org/reference/types.html#trait-objects");
variant_ty
} else {
for field in fields {
self.check_pat_walk(&field.node.pat, self.tcx.types.err, def_bm, match_discrim_span);
self.check_pat_walk(
&field.node.pat,
self.tcx.types.err,
def_bm,
match_discrim_span,
);
}
return self.tcx.types.err;
};