From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 05873386CE69; Wed, 8 Jun 2022 12:42:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 05873386CE69 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 #1199 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: 694114ea9567d1d7bc96b3d5ce287daede11b941 X-Git-Newrev: 5aec7cbfa560440801dfd0b26e408ab6fb692ed6 Message-Id: <20220608124212.05873386CE69@sourceware.org> Date: Wed, 8 Jun 2022 12:42:12 +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:42:12 -0000 https://gcc.gnu.org/g:5aec7cbfa560440801dfd0b26e408ab6fb692ed6 commit 5aec7cbfa560440801dfd0b26e408ab6fb692ed6 Merge: 694114ea956 d6fb6246563 Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Mon May 2 20:10:39 2022 +0000 Merge #1199 1199: Add new as_name interface for Dynamic types r=philberty a=philberty The Gimple names of our dyn trait objects were looking like: const struct dyn [HIR Trait: FnLike->[C: 0 Nid: 31 Hid: 38 Lid: 13] [(FN call ), ]] & const f This is a horrible name but useful for debugging this patch fixes this so we have a seperate naming for generating the type. So now it looks like: const struct dyn [FnLike] & const f Co-authored-by: Philip Herron Diff: gcc/rust/typecheck/rust-tyty-bounds.cc | 20 ++++++++++++++++++++ gcc/rust/typecheck/rust-tyty.cc | 3 +-- gcc/rust/typecheck/rust-tyty.h | 4 ++++ 3 files changed, 25 insertions(+), 2 deletions(-)