fn check_for_mutation_in_guard(cx: &MatchVisitor, guard: &hir::Expr) {
    let mut checker = MutationChecker {
        cx,
    };
    ExprUseVisitor::new(&mut checker, cx.tcx, cx.param_env, cx.region_maps, cx.tables)
        .walk_expr(guard);
}
/// Ensures that a pattern guard doesn't borrow by mutable reference or
/// assign.
///
/// FIXME: this should be done by borrowck.
Ensures that a pattern guard doesn't borrow by mutable reference or
assign.

this should be done by borrowck.
Ensures that a pattern guard doesn ' t borrow by mutable reference or assign . this should be done by borrowck .
fn check_for_mutation_in_guard(cx: &MatchVisitor, guard: &hir::Expr) {
    let mut checker = MutationChecker {
        cx,
    };
    ExprUseVisitor::new(&mut checker, cx.tcx, cx.param_env, cx.region_maps, cx.tables)
        .walk_expr(guard);
}
fn check_for_mutation_in_guard ( cx : & MatchVisitor , guard : & hir :: Expr ) { let mut checker = MutationChecker { cx , } ; ExprUseVisitor :: new ( & mut checker , cx . tcx , cx . param_env , cx . region_maps , cx . tables ) . walk_expr ( guard ) ; }
Ensures that a pattern guard doesn't borrow by mutable reference or
assign.
Ensures that a pattern guard doesn ' t borrow by mutable reference or assign .
cx
&MatchVisitor
guard
&hir::Expr
cx
&MatchVisitor
guard
&hir::Expr