match pat {
&TuplePatField::Pat(ref pat) => {
match pat.node {
- ast::PatKind::Path(..) |
- ast::PatKind::Tuple(..) |
- ast::PatKind::Struct(..) => context.use_block_indent() && len == 1,
- ast::PatKind::Ref(ref p, _) |
- ast::PatKind::Box(ref p) => {
+ ast::PatKind::Path(..) | ast::PatKind::Tuple(..) | ast::PatKind::Struct(..) => {
+ context.use_block_indent() && len == 1
+ }
+ ast::PatKind::Ref(ref p, _) | ast::PatKind::Box(ref p) => {
can_be_overflowed_pat(context, &TuplePatField::Pat(p), len)
}
ast::PatKind::Lit(ref expr) => can_be_overflowed_expr(context, expr, len),