From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 049D53851A97; Wed, 8 Jun 2022 12:12:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 049D53851A97 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] Add missing range mapping lang item X-Act-Checkin: gcc X-Git-Author: Philip Herron X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: ac17ed5f5ed5351571382c3ae7f82a42951e0dc5 X-Git-Newrev: 1c3af63eaeae50ab4ae9e11b8d363fe092707b55 Message-Id: <20220608121214.049D53851A97@sourceware.org> Date: Wed, 8 Jun 2022 12:12:14 +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:12:14 -0000 https://gcc.gnu.org/g:1c3af63eaeae50ab4ae9e11b8d363fe092707b55 commit 1c3af63eaeae50ab4ae9e11b8d363fe092707b55 Author: Philip Herron 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;