aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-buffered-queue.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-07-04 08:26:36 +0000
committerGitHub <noreply@github.com>2022-07-04 08:26:36 +0000
commit408b7f87b99c1b9d074787ac279c86319ab00667 (patch)
tree949b4a682cb8bf80db9076bc92db4d5493d46533 /gcc/rust/rust-buffered-queue.h
parent33912c1a08d3892d3c72506aed38771754b9cf54 (diff)
parentfa006a67280039e0d6c6f574896bb8d819b452fe (diff)
downloadgcc-408b7f87b99c1b9d074787ac279c86319ab00667.zip
gcc-408b7f87b99c1b9d074787ac279c86319ab00667.tar.gz
gcc-408b7f87b99c1b9d074787ac279c86319ab00667.tar.bz2
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>
Diffstat (limited to 'gcc/rust/rust-buffered-queue.h')
0 files changed, 0 insertions, 0 deletions