public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Add missing range mapping lang item
@ 2022-06-08 12:12 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:12 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1c3af63eaeae50ab4ae9e11b8d363fe092707b55

commit 1c3af63eaeae50ab4ae9e11b8d363fe092707b55
Author: Philip Herron <philip.herron@embecosm.com>
Date:   Wed Feb 23 17:48:41 2022 +0000

    Add missing range mapping lang item

Diff:
---
 gcc/rust/util/rust-lang-item.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gcc/rust/util/rust-lang-item.h b/gcc/rust/util/rust-lang-item.h
index da200e7dabe..40187ab42f1 100644
--- a/gcc/rust/util/rust-lang-item.h
+++ b/gcc/rust/util/rust-lang-item.h
@@ -165,6 +165,10 @@ public:
       {
 	return ItemType::DEREF_MUT;
       }
+    else if (item.compare ("RangeFull") == 0)
+      {
+	return ItemType::RANGE_FULL;
+      }
     else if (item.compare ("Range") == 0)
       {
 	return ItemType::RANGE;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08 12:12 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:12 [gcc/devel/rust/master] Add missing range mapping lang item 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).