From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by sourceware.org (Postfix) with ESMTPS id 36831385771F for ; Tue, 30 Jan 2024 12:12:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 36831385771F 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 36831385771F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::12e 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-x12e.google.com with SMTP id 2adb3069b0e04-51030ce36fbso3965866e87.3 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=C/ULuFCKvZ8Yn0kSuhg/Ym7k9og0M7iRKnOn1xjHzDsNj3bp+qQVaztMEy105v/OdE yoOuFdjhDUUdLrdCzCLaJy2mFFBY1fQZCn2m3z2cs3OsmCW+EQ2j2ecBnyYEEFK+ej1Z +eLHTZi5AxTR/tFq4CrTZ4uZCr2YBOFe0OPK/hAhGkht0aILUAgt8UF31UxtAIeZnv00 mQRTFaizTlt5Nt9LW87Rir1887NVCSIwGHVESFphNM2J8XT2JT6L2pl0pt0zP8SL/a7Z dxvn57gCN+Gxqp+pk/1AeNgn1xmUfb4Fc+pwp8slF03751TNVRnEY2zCQzbPVTh/IlSI mv/w== X-Gm-Message-State: AOJu0YyaIBvgzKwxhDkoa7XvZlOaWL7YEtG7RNVBdULJVP52tfvZeDXa 8gcIkIMkEvRrvwjd7Uak4OSRvjT1IAEyJG3KbuMT5F6sdVmeLU9E6lJHoNBuAVmo0l7sun+8Cx5 mHQ== X-Google-Smtp-Source: AGHT+IGcPVQ9bE17p+4Ip17mhKwW5HNLGaklAbVOK3Gy2dPto37dEddx2Pp2ySPPTunJndVaden4jw== 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> Reply-To: arthur.cohen@embecosm.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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=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: 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; -- 2.42.1