public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Update gcc/rust/util/rust-mapping-common.h
@ 2022-06-08 12:27 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:27 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3513fa38f2dbc2b564a32832ad9277ef909c6379
commit 3513fa38f2dbc2b564a32832ad9277ef909c6379
Author: Philip Herron <philip.herron@embecosm.com>
Date: Mon Apr 11 09:56:14 2022 +0100
Update gcc/rust/util/rust-mapping-common.h
Co-authored-by: CohenArthur <arthur.cohen@embecosm.com>
Diff:
---
gcc/rust/util/rust-mapping-common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/rust/util/rust-mapping-common.h b/gcc/rust/util/rust-mapping-common.h
index b4380f17c3e..27faa7f4254 100644
--- a/gcc/rust/util/rust-mapping-common.h
+++ b/gcc/rust/util/rust-mapping-common.h
@@ -55,6 +55,7 @@ struct DefId
{
std::string buf;
buf += std::to_string (crateNum);
+ buf += " "; // or anything else
buf += std::to_string (localDefId);
return buf;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:27 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:27 [gcc/devel/rust/master] Update gcc/rust/util/rust-mapping-common.h 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).