From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 02D1F388B585; Wed, 8 Jun 2022 12:50:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02D1F388B585 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 #1281 #1282 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: d5c1531cc41ea7fab4d522dafe3ff725a766fb49 X-Git-Newrev: 5c84a5ca514398f858020c378c5a26f0593eaee3 Message-Id: <20220608125040.02D1F388B585@sourceware.org> Date: Wed, 8 Jun 2022 12:50:40 +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:50:40 -0000 https://gcc.gnu.org/g:5c84a5ca514398f858020c378c5a26f0593eaee3 commit 5c84a5ca514398f858020c378c5a26f0593eaee3 Merge: d5c1531cc41 3a95f28788d 56634945fb2 Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Thu May 26 08:26:39 2022 +0000 Merge #1281 #1282 1281: Add testcase to prove bug is fixed r=philberty a=philberty This bug was fixed in commit cb4d935508def8b250345ba5205a90ad9e177ab4 with related PR #1223 The issue is that associated types get updated depending on the context they are used so we need to monomorphize the types when we can so that we don't then throw off the rest of type checking with bogus errors like this. Fixes #1237 1282: Add build badges for marks build-farm r=philberty a=philberty Fixes #1236 Co-authored-by: Philip Herron Diff: README.md | 9 +++++++++ gcc/testsuite/rust/compile/issue-1237.rs | 23 +++++++++++++++++++++++ 2 files changed, 32 insertions(+)