[gcc r14-8619] gccrs: Test: fix missing lifetime in a test
Arthur Cohen
cohenarthur@gcc.gnu.org
Tue Jan 30 12:02:28 GMT 2024
https://gcc.gnu.org/g:aed23b571148656ef00c4b3ebc69db2232030849
commit r14-8619-gaed23b571148656ef00c4b3ebc69db2232030849
Author: Jakub Dupak <dev@jakubdupak.com>
Date: Tue Jan 9 15:43:01 2024 +0100
gccrs: 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 <dev@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;
More information about the Gcc-cvs
mailing list