This commit is contained in:
Takayuki Nakata 2020-07-21 08:25:11 +09:00
parent 14a4e3bcc8
commit b7ceb4d3d7
2 changed files with 4 additions and 3 deletions

View File

@ -1081,7 +1081,8 @@ fn has_mutable_variables<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) ->
def_id.expect_local(),
cx.param_env,
cx.typeck_results(),
).walk_expr(expr);
)
.walk_expr(expr);
});
delegate.found_mutable