From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 03B6A380F3CB; Wed, 8 Jun 2022 12:15:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 03B6A380F3CB 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 #984 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: e35da26d8ed884b27050c6cbfe2460696e4c9ebe X-Git-Newrev: b4bd389c66a3e3bf0489626a1a70c2500d415ef8 Message-Id: <20220608121527.03B6A380F3CB@sourceware.org> Date: Wed, 8 Jun 2022 12:15:27 +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: Wed, 08 Jun 2022 12:15:27 -0000 https://gcc.gnu.org/g:b4bd389c66a3e3bf0489626a1a70c2500d415ef8 commit b4bd389c66a3e3bf0489626a1a70c2500d415ef8 Merge: e35da26d8ed 3f2d5a720b2 Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Fri Mar 4 11:30:52 2022 +0000 Merge #984 984: Implimented Soluion 1 and solution 2 for issue_734 r=philberty a=mvvsmk Fixes #734 Done : - [x] Remove iterate_params function - [x] Create new get_params function Solution 1 1) Created a new get_params function which returns the parameters. 2) Changed the references of the iterate_params to use get_params. Solution 2 1) Added get_params2 which returns `std::vector` 2) Changed the references of the iterate_params to use get_params. Status : Currently I have implemented the first solution. Signed-off-by : M V V S Manoj Kumar Co-authored-by: M V V S Manoj Kumar Diff: gcc/rust/backend/rust-compile-type.cc | 12 +++++++----- gcc/rust/typecheck/rust-tyty.cc | 11 +++++++---- gcc/rust/typecheck/rust-tyty.h | 3 +++ 3 files changed, 17 insertions(+), 9 deletions(-)