diff --git a/compiler/can/src/traverse.rs b/compiler/can/src/traverse.rs index 046b329dd4..a1f338c4ca 100644 --- a/compiler/can/src/traverse.rs +++ b/compiler/can/src/traverse.rs @@ -52,11 +52,7 @@ fn walk_def(visitor: &mut V, def: &Def) { ); visitor.visit_expr(&loc_expr.value, loc_expr.region, *expr_var); if let Some(annot) = &annotation { -<<<<<<< HEAD visitor.visit_annotation(annot); -======= - visitor.visit_annotation(&annot); ->>>>>>> 1c2489622 (Add a way to view solved types of arbitrary expressions/patterns in a program) } } @@ -121,15 +117,8 @@ fn walk_when_branch(visitor: &mut V, branch: &WhenBranch, expr_var: } } -<<<<<<< HEAD fn walk_pattern(_visitor: &mut V, _pat: &Pattern) { todo!() -======= -fn walk_pattern(_visitor: &mut V, pat: &Pattern) { - match pat { - _ => todo!(), - } ->>>>>>> 1c2489622 (Add a way to view solved types of arbitrary expressions/patterns in a program) } trait Visitor: Sized {