From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 9613338582A2; Mon, 4 Jul 2022 18:57:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9613338582A2 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Merge #1352 X-Act-Checkin: gcc X-Git-Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: 33912c1a08d3892d3c72506aed38771754b9cf54 X-Git-Newrev: 408b7f87b99c1b9d074787ac279c86319ab00667 Message-Id: <20220704185746.9613338582A2@sourceware.org> Date: Mon, 4 Jul 2022 18:57:46 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2022 18:57:46 -0000 https://gcc.gnu.org/g:408b7f87b99c1b9d074787ac279c86319ab00667 commit 408b7f87b99c1b9d074787ac279c86319ab00667 Merge: 33912c1a08d fa006a67280 Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Mon Jul 4 08:26:36 2022 +0000 Merge #1352 1352: HIR: fixup MatchArm assignment operator r=philberty a=dafaust We overload the assignment operator to clone the vector of patterns for the match arm. However the existing patterns were not cleared before inserting the new ones, so the result was to append the new patterns onto the assignee arm rather than replace them. Co-authored-by: David Faust Diff: gcc/rust/hir/tree/rust-hir-expr.h | 1 + 1 file changed, 1 insertion(+)