https://gcc.gnu.org/g:ddb7f134020b499606d26c6206ef8cc20276630b
commit ddb7f134020b499606d26c6206ef8cc20276630b Author: Jakub Dupak <d...@jakubdupak.com> Date: Tue Jan 9 15:43:01 2024 +0100 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 <d...@jakubdupak.com> Diff: --- 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 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;