Skip to content

Commit d840d0c

Browse files
committed
Use .. patterns in cfg_build.rs
1 parent e0a5370 commit d840d0c

File tree

1 file changed

+30
-30
lines changed
  • compiler/rustc_typeck/src/check/generator_interior/drop_ranges

1 file changed

+30
-30
lines changed

compiler/rustc_typeck/src/check/generator_interior/drop_ranges/cfg_build.rs

+30-30
Original file line numberDiff line numberDiff line change
@@ -163,36 +163,36 @@ impl<'a, 'tcx> DropRangeVisitor<'a, 'tcx> {
163163
//
164164
// Some of these may be interesting in the future
165165
ExprKind::Path(..)
166-
| ExprKind::Box(_)
167-
| ExprKind::ConstBlock(_)
168-
| ExprKind::Array(_)
169-
| ExprKind::Call(_, _)
170-
| ExprKind::MethodCall(_, _, _, _)
171-
| ExprKind::Tup(_)
172-
| ExprKind::Binary(_, _, _)
173-
| ExprKind::Unary(_, _)
174-
| ExprKind::Lit(_)
175-
| ExprKind::Cast(_, _)
176-
| ExprKind::Type(_, _)
177-
| ExprKind::DropTemps(_)
178-
| ExprKind::Let(_, _, _)
179-
| ExprKind::If(_, _, _)
180-
| ExprKind::Loop(_, _, _, _)
181-
| ExprKind::Match(_, _, _)
182-
| ExprKind::Closure(_, _, _, _, _)
183-
| ExprKind::Block(_, _)
184-
| ExprKind::Assign(_, _, _)
185-
| ExprKind::AssignOp(_, _, _)
186-
| ExprKind::Index(_, _)
187-
| ExprKind::AddrOf(_, _, _)
188-
| ExprKind::Break(_, _)
189-
| ExprKind::Continue(_)
190-
| ExprKind::Ret(_)
191-
| ExprKind::InlineAsm(_)
192-
| ExprKind::LlvmInlineAsm(_)
193-
| ExprKind::Struct(_, _, _)
194-
| ExprKind::Repeat(_, _)
195-
| ExprKind::Yield(_, _)
166+
| ExprKind::Box(..)
167+
| ExprKind::ConstBlock(..)
168+
| ExprKind::Array(..)
169+
| ExprKind::Call(..)
170+
| ExprKind::MethodCall(..)
171+
| ExprKind::Tup(..)
172+
| ExprKind::Binary(..)
173+
| ExprKind::Unary(..)
174+
| ExprKind::Lit(..)
175+
| ExprKind::Cast(..)
176+
| ExprKind::Type(..)
177+
| ExprKind::DropTemps(..)
178+
| ExprKind::Let(..)
179+
| ExprKind::If(..)
180+
| ExprKind::Loop(..)
181+
| ExprKind::Match(..)
182+
| ExprKind::Closure(..)
183+
| ExprKind::Block(..)
184+
| ExprKind::Assign(..)
185+
| ExprKind::AssignOp(..)
186+
| ExprKind::Index(..)
187+
| ExprKind::AddrOf(..)
188+
| ExprKind::Break(..)
189+
| ExprKind::Continue(..)
190+
| ExprKind::Ret(..)
191+
| ExprKind::InlineAsm(..)
192+
| ExprKind::LlvmInlineAsm(..)
193+
| ExprKind::Struct(..)
194+
| ExprKind::Repeat(..)
195+
| ExprKind::Yield(..)
196196
| ExprKind::Err => (),
197197
}
198198
}

0 commit comments

Comments
 (0)