Message ID | 20240207114419.1100894-23-arthur.cohen@embecosm.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2202330dyb; Wed, 7 Feb 2024 04:50:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IGg7/vmoXJNmaiJ8WxZdeIB28YVutoQOgzeLjeLNcwxCRa8PbTEjqGMtAoGDBXnscSCSTfP X-Received: by 2002:a05:6902:2002:b0:dc7:3198:b080 with SMTP id dh2-20020a056902200200b00dc73198b080mr2257226ybb.51.1707310229572; Wed, 07 Feb 2024 04:50:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707310229; cv=pass; d=google.com; s=arc-20160816; b=HBFvQttc7MaRCYCxekd4ux9tUCkbCH5QgiC2hTAl+vtnlW8dPLnF4sYVBfqvnlfttN shX2tQ48Ywctt+6jy8T2X+Bza7q5Jnkl7g2NVV18MCya8kkKZoKuKC4BNoN5IYpb/gXL FRdcxmK5JtNg0IJYpKKH0FpxlEPFD8yvyz9ndtBjTgRPsteJaMtqjPPtnlg+6j7z6AYF LD/46hIkZ1oqOTJ74djsJHuC3gr+O5coaz7wf5RoNXR0Pdtxy8oim/FptW/jhNHWvpFf SxB5aE5rSBqPfrMLu0FL26Er6y2qgMRdGR0tFvZKKLodxqIwt9RWTv/UywCrxC1u5QW8 vObA== 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=0fbYg0qjcE0eG4rgOLErIg97R0aD1gwVMHVuDp7h9oU=; fh=/fSCwYvZThQuPFQAsB1XTQttUI0igQsY1KIp/kg+uLQ=; b=iMoFEgRBP9WvrelMpwc1YAEFBBh5mwDKAWVtAaNA6ExLr1TaqApYzNAnOoPgoWbKSE OilL09plOYLJj7ez6XOMGMSJ0FTZwrlpqld+oNDuM1vo5g2//7CmPf40vuKNei989FMe 60kUGcEP/4N9vEbzG1dWfFvQ88EOQeuK0DyJsrlxie1m3dMYMR8jFg3bQcORXC8iRbfb HDDAQYI0FfXbfKDafrrKEJrvIw/pbaEmMOqmCBwZn1e4D3szm6GztaoBEngjhsytMMbV xd8YXR0Ivn0bZKbE7NwVmqf7x4vbRw+50gWR+ugptZ5IucMS2+alrubxKL60UPJ+e5tq yYKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=K+s43pEn; 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" X-Forwarded-Encrypted: i=2; AJvYcCUxy0ZMaFwXgau3KSGfydr5uIh6ZFWsM84VrT22JUqrKm1E6kpG31x+JBU/NYl5FoK7gzsFBlxH4i3tU24c0PN19fhH9Q== Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id y9-20020a0ceac9000000b0068c5a4d359asi1010756qvp.75.2024.02.07.04.50.29 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 04:50:29 -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=K+s43pEn; 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 D43543857C76 for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 12:50:28 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by sourceware.org (Postfix) with ESMTPS id B72CE3857C43 for <gcc-patches@gcc.gnu.org>; Wed, 7 Feb 2024 12:44:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B72CE3857C43 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 B72CE3857C43 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::334 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707309872; cv=none; b=dOT6n7ONws36rIq3C2n5RYZtfsJ5YSdUbUbyy8kqATXWdo5iQXHlN6GbKoyPSfJe+RX3bCcmS9BTBgcLoHELujtxo/V/T78cuaLgPWUCnwXdYuUptp4oH4Ah0aeTt3rlZO+s1yV65w1wXNjdiclD9pgtvqrBL6nb/f/f/bOH1uo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707309872; c=relaxed/simple; bh=QFq77KHS7PgRPyVne3PnC9MVVPmfvigbzaVGEihY5/o=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=hFDt1IDfM0/RaaYRAsc8hWE/4eYO3xDmnCGkXv/oFBv15IEM60Zpq/nNAcqUHqVT95c48ddvvouky8ORlp1I00EQZAyHyEQkryhSp9KPqMidZKTKfO2kZpw84UN1IL7XkSa0ue/m9eGWj7PC19loOgqL5Jbp+QgB5AHQyeskteg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40fc6578423so4928205e9.0 for <gcc-patches@gcc.gnu.org>; Wed, 07 Feb 2024 04:44:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1707309859; x=1707914659; 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=0fbYg0qjcE0eG4rgOLErIg97R0aD1gwVMHVuDp7h9oU=; b=K+s43pEnp6uzIaw9Av2uJGCCuTuOQKUcEQ1PuA2tscBqFyCdOtwE0brjSTXqewevXQ jbv8nH9rUqrys/3fQRIFrJKO8T/guuW7uS+0Lvxfx/0CNwTjPX+fJuJy5gZoPjK7n7qj 0Fb2juEmhWSIzK5ehO0sp/IiLneE/S32k56tsFzmQMqqA9UweZA22NHNNUzIB5VYdR+l CysdOYSQ6+h5F38G+FO1+xQVLzdZI0nz6znVlkWU0jsHp4CiWfSISfcAZYwD1/xuT1oa uLwHlsHS1wJ9+YgLyHVrelb4QAfW+1mpZ2bdoC/5QC3RtcyAArrG/IdH46wXr+5MVPqN zWpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707309859; x=1707914659; 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=0fbYg0qjcE0eG4rgOLErIg97R0aD1gwVMHVuDp7h9oU=; b=N1JgA0LsudB0Dq2t8uh6yvLFFJ2PsvzeeaYgwnL4vQnsMtE2jSmSggDhntK7kHi1hK liFKg3L/+gJlESfmch3XyzeltT2fg0DyBX1hZ/hJJJMpM34RT/XFweK7bfvKpAVf9rbv uqqWN/RvsKTEIUfPQ3smpilLCENLJyJKHX8r0UWSTMcT8CWNYIxIU16qCjq7n8yIBHdV tqAmhkEnCWfUh4cs6vH3tQQ6VRSssRFRPubbThHRRGJO75yCCkZKuMC9NORDRIrlROVd qT7A6vF8QneayPzWxrJR8NBneI4MQYNrzF/N/qTHMzkAr1yLaSMsVgagCrcRo1xc+0tI 52LQ== X-Gm-Message-State: AOJu0Yz8dvvPAApUytfRJTH+vgQKGO7CEv5Ws+QSUUuN0zftoU+U+U3t TwfK4XoHaV3v+Iyc6m3LM4aK1xcE6RoH6l8VlQAz3xGgv1U05GCmtcd5aMwV83DIVnA1s51ugK7 png== X-Received: by 2002:a05:600c:1d20:b0:40f:e1ec:5d41 with SMTP id l32-20020a05600c1d2000b0040fe1ec5d41mr4442712wms.32.1707309859395; Wed, 07 Feb 2024 04:44:19 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVMHkRs+IvzwQta5xgYYcy8q08Q3eQeQJB41JieQzPU2/kb8aFf6NoVLhJ6lvPVhNw6+boFKakNQEbMw3fmQLQTKOlaShpE Received: from platypus.sou.embecosm-corp.com ([212.69.42.53]) by smtp.gmail.com with ESMTPSA id x19-20020a05600c2a5300b0040fbdd6f69bsm5044188wme.33.2024.02.07.04.44.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 04:44:18 -0800 (PST) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Kushal Pal <kushalpal109@gmail.com> Subject: [COMMITTED 22/25] gccrs: Fix inconsistent formatting. Date: Wed, 7 Feb 2024 12:44:08 +0100 Message-ID: <20240207114419.1100894-23-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20240207114419.1100894-2-arthur.cohen@embecosm.com> References: <20240207114419.1100894-2-arthur.cohen@embecosm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.4 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=ham 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=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: 1790244531253809433 X-GMAIL-MSGID: 1790244531253809433 |
Series |
[COMMITTED,01/25] gccrs: Parse normal functions with `self` parameter correctly
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Arthur Cohen
Feb. 7, 2024, 11:44 a.m. UTC
From: Kushal Pal <kushalpal109@gmail.com> gcc/testsuite/ChangeLog: * rust/compile/issue-2040.rs: Enclose 'const' in single quotes. Signed-off-by: Kushal Pal <kushalpal109@gmail.com> --- gcc/testsuite/rust/compile/issue-2040.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/rust/compile/issue-2040.rs b/gcc/testsuite/rust/compile/issue-2040.rs index fbac168b9f3..89895420a4d 100644 --- a/gcc/testsuite/rust/compile/issue-2040.rs +++ b/gcc/testsuite/rust/compile/issue-2040.rs @@ -4,7 +4,7 @@ trait Foo { impl Foo for u32 { const fn f() -> u32 { - // { dg-error "functions in traits cannot be declared const" "" { target *-*-* } .-1 } + // { dg-error "functions in traits cannot be declared .const." "" { target *-*-* } .-1 } 22 } }