diff --git a/src/librustc_mir/hair/pattern/_match.rs b/src/librustc_mir/hair/pattern/_match.rs index 322ab115cda..aeb581f0cba 100644 --- a/src/librustc_mir/hair/pattern/_match.rs +++ b/src/librustc_mir/hair/pattern/_match.rs @@ -1537,13 +1537,14 @@ fn constructor_sub_pattern_tys<'a, 'tcx>( (_, true, true) => cx.tcx.types.err, // Treat all non-visible fields as `TyErr`. They can't appear in any // other pattern from this match (because they are private), so their - // type does not matter - but we don't want to know they are uninhabited. + // type does not matter - but we don't want to know they are + // uninhabited. (false, ..) => cx.tcx.types.err, (true, ..) => { let ty = field.ty(cx.tcx, substs); match ty.kind { - // If the field type returned is an array of an unknown - // size return an TyErr. + // If the field type returned is an array of an unknown size + // return an TyErr. ty::Array(_, len) if len.try_eval_usize(cx.tcx, cx.param_env).is_none() => {