From patchwork Wed Feb 21 13:15:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arthur Cohen X-Patchwork-Id: 204214 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp1029094dyc; Wed, 21 Feb 2024 05:19:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVlcQLiiBrH2zFuf2uQ5rCGd9ZclgpPxJjUMwttu5ruBuNGQiZ3RDKyg+iyX5vjY8/lb/PT9he+oNtXuBDVE41fAoKadw== X-Google-Smtp-Source: AGHT+IG0iCSt4KqOPfTBQVNvJwdU90S04oMN8aE85U92Y4tai06qiK+7OhWkzuD6fcpTPHJ3iiU2 X-Received: by 2002:ae9:e919:0:b0:785:d8a1:dfbd with SMTP id x25-20020ae9e919000000b00785d8a1dfbdmr19947768qkf.68.1708521559862; Wed, 21 Feb 2024 05:19:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708521559; cv=pass; d=google.com; s=arc-20160816; b=YY5pC+BxYSVwTX0P67pMLGq6Lg3kOMRh21zkMETsnII6qrj7mwfqzPq2hXBOUQ7c2E ggjpqmkyl6maj9U63NisyX/LkAIlh2r8BxPGbcYqc9TJwVGyHlwyzD7FxqquLkhmb9ID LmoUEVNVDDDTu/m7j8Vs0pEix3ShshMtDhWYS4m1JXNlz4jH+2nNaG9tIk4hDakTWw5F 1BVll4UfpYi9WIEI7lkgzAozu0lPXCvJXrRHi07fl+lSjklC6NFj1sCns58k0PHniNAa A+ZXvdfIDr9t58QSW0GvvX08KH195qLPMlS8S7KOcG6tUQEgzyv5eVE9R2w/IS4QsNgy afYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:reply-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=b76dP0GEZCGm48fy6x2VP3HPyVY+A5hEQ+T3zt9JQwU=; fh=6KiXNvQww/MsyVplklPLl//mUuD+DtDm73nSHh4O4+g=; b=SMGEwxEzJ9aKjBnS4xSjFcyzZGPYl9orSLXdRHyhs4P6ag/BeACkHoxTUtRb4axb/Q nEcaczT78SC9Bn46ySxOU0OcY0IQXCRx7Bl6gS+mpHC7TG+akZc+qCmH7dsVsqpQo9jn eAW7x5cbIhBjsVxbQQECQ2BCCyfju9HS/JEKgvrZWck/w/r7qj767kbJc7MNPNlFq8t5 hxDnq1SHVwnwDeAgSFRUg7u6QA/+9NCpid8fY+kTpgWDjMnDrQe/YTDP/cIhE6W6hEbo wgd1XMY8hMXrtdreqVWyGqueISNLcQ/V+NLctAQWwbaevLQyjdM+omICRlSayZ30G1IF FUYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=Nq6YH0HX; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id pj5-20020a05620a1d8500b007871f998409si10850816qkn.695.2024.02.21.05.19.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 05:19:19 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=Nq6YH0HX; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 910EC3858428 for ; Wed, 21 Feb 2024 13:19:19 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by sourceware.org (Postfix) with ESMTPS id 7BD4E385840A for ; Wed, 21 Feb 2024 13:16:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7BD4E385840A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7BD4E385840A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::62d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708521386; cv=none; b=qMtr6Hos7LLomrhBUVEFYuZjh+JY0pFPg9VZMHqnPMqpZpT/YuYQ1+9fBvu7fHDw+h589zdPaIC60K215FHwsGEZNQqykb5KkQB9tlbLYzSMguPBV8Wltu9AQPWT0yZbSUSUaCXV3WQv7ME/ZzUhpjDqK63a2gQM6cgzD2cnVtk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708521386; c=relaxed/simple; bh=nBfP5Pj0zOlWHvz00T0wIk9/ZEM5svu7wW0HqBawK/s=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=EM4H7MeWwNedAJ956/kbWXADXtnSGYvWdksMoqjM72G3KWeOmBN1iOyoKIiRvaYZkrbFvOZ7LA97zaH71U3gmd2mk1pp9p+YOg+SBtF108JbOSj4coT1rPb+7lAq/6YuqLFFxYjlKeqN8O6oN1uu/oFTF2FklOLER0j8HOqpBkM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a3e7f7b3d95so428094366b.3 for ; Wed, 21 Feb 2024 05:16:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1708521382; x=1709126182; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=b76dP0GEZCGm48fy6x2VP3HPyVY+A5hEQ+T3zt9JQwU=; b=Nq6YH0HXGn9PVYhqzfcjyfgxTWW40OIflHyaBIFF8agj09UoNHJ2X1xqX97vqnc9Sw N3i3hyt4TkdRmiw7uQ6Q6bcwdoCVg0YBSzxZOmN5l+bjreZYZnxbhsTZ46vtCC3u+189 rF62jgnuj/40Db6XIhiilUAJxaZKjbcXDrYxejmkSAJ9QnIhY+2nEstertGXG/ZzQcMw K6wm+kc+UUn41zWL0QlGsM6gRqjdp0w0iBMGh4BFGaWnXN6RuBRkzIIxcpU9bGTCCyw6 QG2H7VKPjSlUOIpC7Is2ItDE/xPgfqQDKmRU47ayd7l9XVHLr8Sm41NgWKELNfMTE3uC 2eLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708521382; x=1709126182; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=b76dP0GEZCGm48fy6x2VP3HPyVY+A5hEQ+T3zt9JQwU=; b=bsToY10nKhTm603DX54oRwAFVrOo8JKqLQsSIab/6gAA1ySjqwqQN0xNoXnnxJSDSJ 5egA13LOS1BaJPWEweqD8gd1Q42DqISA3TWYfnGxJVlbZEKyHcaRAm4y6zb85hsyZ66m 6sKm3y5hIVHltg5LI7Tz8etHHgZdr6xricwq2veWwxOObLhjl8K9X+NCRO5fScrRimzQ o8EYEsjZT26ZeYJP0yYYvOYUIw7oTPlKSMP4f4rlq554psJoemTI9evtDkSgZ/Ajfbt/ AQbCv+J1LjL/e9DrsxHljKSRNqNieyJOQ2xsJLkahjpP+X0Jl5ESJ0SARzZfNkGYT7e0 lOGw== X-Gm-Message-State: AOJu0YxzV8cXS4rLZ8KZ43ApL6iLZcSMw5vosbJTsSEXBZyCNdERwjHZ 3ymtTqJCgWwtmzU5KLnMX5ZQ15pUm3xf+Cf3M6hO0n8mGcDMUbAQQK2S4suNI3BELoAXNXIf2JI = X-Received: by 2002:a17:906:eb19:b0:a3e:d0ab:5fac with SMTP id mb25-20020a170906eb1900b00a3ed0ab5facmr5271169ejb.28.1708521382317; Wed, 21 Feb 2024 05:16:22 -0800 (PST) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id m12-20020a170906160c00b00a3d0a094574sm4927074ejd.66.2024.02.21.05.16.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 05:16:22 -0800 (PST) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Arthur Cohen Subject: [COMMITTED 1/9] gccrs: Fix typo in RegionConstraints instance Date: Wed, 21 Feb 2024 14:15:19 +0100 Message-ID: <20240221131636.3336103-4-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20240221131636.3336103-2-arthur.cohen@embecosm.com> References: <20240221131636.3336103-2-arthur.cohen@embecosm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-14.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: arthur.cohen@embecosm.com Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791514703344757297 X-GMAIL-MSGID: 1791514703344757297 From: Arthur Cohen gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.h: Fix typo in field (region_costraints -> region_constraints). --- gcc/rust/typecheck/rust-hir-type-check-implitem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/rust/typecheck/rust-hir-type-check-implitem.h b/gcc/rust/typecheck/rust-hir-type-check-implitem.h index 4d178440775..541b7280c1b 100644 --- a/gcc/rust/typecheck/rust-hir-type-check-implitem.h +++ b/gcc/rust/typecheck/rust-hir-type-check-implitem.h @@ -97,7 +97,7 @@ private: HIR::ImplBlock *parent; TyTy::BaseType *self; std::vector substitutions; - TyTy::RegionConstraints region_costraints; + TyTy::RegionConstraints region_constraints; }; } // namespace Resolver