From: Jakub Dupak Date: Tue, 9 Jan 2024 14:43:01 +0000 (+0100) Subject: Test: fix missing lifetime in a test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddb7f134020b499606d26c6206ef8cc20276630b;p=thirdparty%2Fgcc.git Test: fix missing lifetime in a test This test did not compile with rustc. gcc/testsuite/ChangeLog: * rust/compile/torture/utf8_identifiers.rs: add mising lifetime Signed-off-by: Jakub Dupak --- diff --git a/gcc/testsuite/rust/compile/torture/utf8_identifiers.rs b/gcc/testsuite/rust/compile/torture/utf8_identifiers.rs index eeee01c95cf1..696fcc0a3d83 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;