Rustup to rust-lang/rust#64813
This commit is contained in:
@@ -110,7 +110,7 @@ struct CCHelper {
|
||||
impl<'tcx> Visitor<'tcx> for CCHelper {
|
||||
fn visit_expr(&mut self, e: &'tcx Expr) {
|
||||
walk_expr(self, e);
|
||||
match e.node {
|
||||
match e.kind {
|
||||
ExprKind::Match(_, ref arms, _) => {
|
||||
if arms.len() > 1 {
|
||||
self.cc += 1;
|
||||
|
||||
Reference in New Issue
Block a user