From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id 858CF3857C5B for ; Wed, 7 Feb 2024 12:44:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 858CF3857C5B 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 858CF3857C5B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::32d 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-x32d.google.com with SMTP id 5b1f17b1804b1-40fc6343bd2so4868435e9.1 for ; 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=TGPBDyikO+BYKOB2tDTsT8GEZw8Q5382Sgi01uwDqVBBJP5QANm/zwTObwWIayVzjy Y1QVYJIIzYBtD8Rhds05l/LW+NHq1lC3XjV+rnXrCS+bo0rxR7H61Hr9xNRsbD95iuIO wT64OVbRurrhbxmyjw5KM7N7bxsmD75xOSie7ttLGIauZWe2Wx23IoVvFXBFl2t1kfE1 /DTDRqbrrAQvCP7aEo0uo35u3QPmUTMy7aWMPnq/3P7Y2JPWa2sKSKvyOpRaeoGtlSkY qX7NN6xAK4Y1xBmxt/Kqe3eISnPpCNIYuRtE/SOy0yHbf0bwLcvIMN2NCGo5cBSmr1JG vKwA== X-Gm-Message-State: AOJu0Yxd3T6v+MtRNnk1rtBaMoQKyaLptK0jDtwtr5I4p8xQNFqjqN4N z3M0xOtRpjNN+McvXSeUD4yA13yPKsyfukLDoIT6uBO9x4ZZxyez7aKpYDlaBg== X-Google-Smtp-Source: AGHT+IET6JtjXTYdCfwX2nGbzy2y8uHVXXeDrC7JxOf3e7IipRsOpLFcj3KpBvLIdWsp897vd7fQPA== 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 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> Reply-To: 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=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: From: Kushal Pal gcc/testsuite/ChangeLog: * rust/compile/issue-2040.rs: Enclose 'const' in single quotes. Signed-off-by: Kushal Pal --- 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 } } -- 2.42.1