From patchwork Tue Jan 30 12:07:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arthur Cohen X-Patchwork-Id: 194120 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1188418dyb; Tue, 30 Jan 2024 04:37:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHb4A7CRo25RZKPrjHSlWRZnC5DhMN0BR1wNFH3zaHuOzC8SptxY8NpgwyRl6tjUPS2UC5U X-Received: by 2002:a05:622a:413:b0:42a:1ee3:add1 with SMTP id n19-20020a05622a041300b0042a1ee3add1mr10278885qtx.110.1706618272240; Tue, 30 Jan 2024 04:37:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706618272; cv=pass; d=google.com; s=arc-20160816; b=ptl+EPTTbG1xbhOXD9/BQJC0An8A5vRXmUtauqUuUlUW9WFAR6KnBvOoEaTvJbatEx RWQeGmh4PNLg5tG/OOD8O+E/ZQZqPhOZRG59S0BBWwEtwZxuN2+zGUK081ynImfTv3Rl zwBOx9nD9DJridu1PjwhcU8CLkR7IQhXkT6NBIJu2EaMe4jD/wyKGTlFo5zEcnyQ1dYm sf35ZCEd6y6q0D/PFapFtb89XPxm+ZbnLtZp1sBr1RUsLfD6CecBy76c1Ajvj3GMzPg8 wIiU9l9v18hTZ77xZSnQfzx79JSr+Ql0ZLbUHnZeGLAiODhEu7FEdOK/y6n47N3tqmCV fF9g== 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=MKYBdaX818/047ocgc/c+pLoepzIebHxqy8BzhLGbNI=; fh=tF/FjG7igJhcOEGq79wqr3ldeoZUVk5V7TNEGxaLUD4=; b=pqCKJK9fuUIrM76zEZjmdQt3TO79ZwCTd2hxt9jVjqDYAvyNGhFLAfMpsKdVJXxSsv cjN0gmqMtEIF+GILlMKL8bVO+a13mRZO4fdkALZzJAmm4qFRhjrAAKyblYPKsTgEDEEG QdYW0RJQw+e/6+2s2mnRQPGYHeTqhwXZvzflvXtRyXcSKXE0YQibwMeBzgRrtmGqRDu5 1XyzCW6NItrihdzsNAVk8oH4ZPSKlN5vQ5VT1P9SNr3AmTIFKmNMvTVP88soMxoVBjda 4NXnifXeCHkOTCekWNhOZv0pFEKLCvkNIogbtSquDMr+UlYyo20b6tK2OOL7u/i+eo1n iM7Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=BpVgl5Sy; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id n14-20020ac85a0e000000b0042b0766b213si813298qta.15.2024.01.30.04.37.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 04:37:52 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=BpVgl5Sy; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 C4036386F012 for ; Tue, 30 Jan 2024 12:37:10 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id 2D17C3857718 for ; Tue, 30 Jan 2024 12:12:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2D17C3857718 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 2D17C3857718 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706616773; cv=none; b=v50SL9EPHIlHB93JCGtKAHiUr3Bap3CmjveL7jqip8Kjr9qtUxYrdZR2iDmz8RvrH188yj7ofowh3C4slRF91+Mn6bB+VQWzw9MbYk5J1t8Lb8/sBBz0oFnO2SXnzF/lQ/ytVo+LB2rG4FoYZ4iCn9UMoHedIfVQEIWCJMrOAyo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706616773; c=relaxed/simple; bh=BFCfJmOm2qeAh9EgumKD9HGhOrM/uBGLJwXGKeyyA/E=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=eK1X72bc5eTwnAwErxP3R9fRiZNRKyQ5zsvON9bpuo4/zn7ataxsnOu4qrczmtlgXpD7x7g8xG/nnnvZd+j7rGLG581dnvR9RFe1D5kjC6SScUEVysd5bsclk5e+SYqmJNT+wBiAMJV8wULZ/9JJeqKyhdgLp8+r7rEwlLlNpnA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-5110c166d70so3743120e87.1 for ; Tue, 30 Jan 2024 04:12:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1706616718; x=1707221518; 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=MKYBdaX818/047ocgc/c+pLoepzIebHxqy8BzhLGbNI=; b=BpVgl5Sy0UiQ9UNL0HlW1TNs5MyhMZJGfUiKr4MC3emy2reC7qh1USh4TFlaYD7MPa LPE1/N01IJkobvVYcjV+DRSeIYiorYMv9EBEx6YAMnYMP2ZlokAPDXh64N8mMzt4LElZ 9+JBxTb1SlvAq+8RgX3RZA7xQN0SS1Z44hsfSNreAZA8gtVX6W2FTAktMPIZ42jFJSfL p8LfgC5QhYWcu4TAI6IMGNKNPcHUi3tBYla0T6/olHzNldl/EqqCxk9zEf7nLIegJU92 B+uwaMavEtPqfNSwi3cBeB64O1y50EgJ/d3r0UFnjNSP4XsYdcG3GVIOOysjvtFwQKhS vteQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706616718; x=1707221518; 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=MKYBdaX818/047ocgc/c+pLoepzIebHxqy8BzhLGbNI=; b=Z7BRCD/w8oXsMpG3/8EaooOC1LwqCtlyFRCLmtNCiW+vrvvsizb+38x0+rVNBsueqt ENa933fWQjjvLSd6q7ogsM1CeAJY1SZa8mWn7WaFN2Yvn7FYDgYD+SkqAOKsqp4JOqiF PpEuBaWzfPzEmNSgDCU7Y49aOVJN8/sbyCD0il74QW6AjVUyyMcN/FVM3jOhIeToGY4m y88Qop3bz5uuswp1aB0iityaVTd4nwxziYOev5iw/ajFBABx4oH1GU+53ZusyKund30l lFR/Og/aneOZ73p6cC9eLM3CmWMNkWrSPg/7ExXfnM/TxkpANrKHy/+dVVHUDOyKAnCr Q6eA== X-Gm-Message-State: AOJu0YzSB8CRnW04hOZc3RroM3NA0HtGJOqbcwzmdXogP8Gga8dEhpQm 63QYEq8ObpLxIV5O/JSxLk+nYqAC0dnZb40FudwAaoKuTxr4ct+iQk7Ix3CTTRDja0XTYhUHM+y 9YA== X-Received: by 2002:a19:2d43:0:b0:510:2367:1bca with SMTP id t3-20020a192d43000000b0051023671bcamr5507180lft.4.1706616717751; Tue, 30 Jan 2024 04:11:57 -0800 (PST) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id f9-20020a056000036900b00339307d9d31sm10569894wrf.112.2024.01.30.04.11.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 04:11:57 -0800 (PST) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Jakub Dupak Subject: [COMMITTED 095/101] gccrs: Test: fix missing lifetime in a test Date: Tue, 30 Jan 2024 13:07:51 +0100 Message-ID: <20240130121026.807464-98-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20240130121026.807464-2-arthur.cohen@embecosm.com> References: <20240130121026.807464-2-arthur.cohen@embecosm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, BODY_8BITS, 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 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: 1789518961101276940 X-GMAIL-MSGID: 1789518961101276940 From: Jakub Dupak This test did not compile with rustc. gcc/testsuite/ChangeLog: * rust/compile/torture/utf8_identifiers.rs: add mising lifetime Signed-off-by: Jakub Dupak --- gcc/testsuite/rust/compile/torture/utf8_identifiers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/rust/compile/torture/utf8_identifiers.rs b/gcc/testsuite/rust/compile/torture/utf8_identifiers.rs index eeee01c95cf..696fcc0a3d8 100644 --- a/gcc/testsuite/rust/compile/torture/utf8_identifiers.rs +++ b/gcc/testsuite/rust/compile/torture/utf8_identifiers.rs @@ -1,7 +1,7 @@ #[lang = "sized"] pub trait Sized {} -pub fn f() { +pub fn f<'かに>() { let crab = (); let Κάβουρας = 0.001;