Add a move reason to the Move ConsumeMode.
Currently it is not possible to distinguish moves caused by captures in the ExprUseVisitor interface. Since check_Loans needs to make that distinction for generating good diagnostics, this is necessary for check_loans to switch to ExprUseVisitor.
Showing
想要评论请 注册 或 登录