public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1199
@ 2022-06-08 12:42 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:42 UTC (permalink / raw)
To: gcc-cvs
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 ), ]<Self, &isize, &isize>] & 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<Self, &isize, &isize>] & const f
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
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(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:42 [gcc/devel/rust/master] Merge #1199 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).