public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1352
@ 2022-07-04 18:57 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-07-04 18:57 UTC (permalink / raw)
To: gcc-cvs
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 <david.faust@oracle.com>
Diff:
gcc/rust/hir/tree/rust-hir-expr.h | 1 +
1 file changed, 1 insertion(+)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-04 18:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 18:57 [gcc/devel/rust/master] Merge #1352 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).