aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-02-23 17:48:41 +0000
committerPhilip Herron <philip.herron@embecosm.com>2022-02-24 11:19:23 +0000
commit1c3af63eaeae50ab4ae9e11b8d363fe092707b55 (patch)
tree3792f56e5e11b79c340180e991ec0a64244572f3
parentac17ed5f5ed5351571382c3ae7f82a42951e0dc5 (diff)
downloadgcc-1c3af63eaeae50ab4ae9e11b8d363fe092707b55.zip
gcc-1c3af63eaeae50ab4ae9e11b8d363fe092707b55.tar.gz
gcc-1c3af63eaeae50ab4ae9e11b8d363fe092707b55.tar.bz2
Add missing range mapping lang item
-rw-r--r--gcc/rust/util/rust-lang-item.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rust/util/rust-lang-item.h b/gcc/rust/util/rust-lang-item.h
index da200e7..40187ab 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;